summaryrefslogtreecommitdiff
path: root/tests/sort
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-12-22 14:09:10 +0000
committerJim Meyering <jim@meyering.net>1996-12-22 14:09:10 +0000
commit1b47ed271434cea6ebdb28f799b49b6c0b40dc99 (patch)
tree50ad576e6d00d6853ecffb55191815033bda6f6e /tests/sort
parentdcd02c800890e720b5c000c2b6b3ee3e01a581f7 (diff)
downloadcoreutils-1b47ed271434cea6ebdb28f799b49b6c0b40dc99.tar.xz
Use test_vector, not array @t.
Diffstat (limited to 'tests/sort')
-rwxr-xr-xtests/sort/Test.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/sort/Test.pm b/tests/sort/Test.pm
index cccbe209d..bf2729f03 100755
--- a/tests/sort/Test.pm
+++ b/tests/sort/Test.pm
@@ -3,7 +3,7 @@ package Test;
require 5.002;
use strict;
-@Test::t = (
+my @tv = (
#test options input expected-output expected-return-code
#
["01a", '', "A\nB\nC\n", "A\nB\nC\n", 0],
@@ -151,4 +151,9 @@ use strict;
);
+sub test_vector
+{
+ return @tv;
+}
+
1;