.
authorJim Meyering <jim@meyering.net>
Sun, 15 Dec 1996 20:29:09 +0000 (20:29 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 15 Dec 1996 20:29:09 +0000 (20:29 +0000)
tests/cut/mk-script.pl
tests/head/mk-script.pl
tests/join/mk-script.pl
tests/ls/mk-script.pl

index 295c24e..f1a4fa4 100644 (file)
@@ -114,10 +114,8 @@ foreach $test_vector (@Test::t)
     my ($test_name, $flags, $in_spec, $expected, $e_ret_code)
        = @{$test_vector};
 
-    my $h = spec_to_list ($in_spec, $test_name, 'in');
+    my $in = spec_to_list ($in_spec, $test_name, 'in');
 
-    my $in1 = "t$test_name.in1";
-    my $in2 = "t$test_name.in2";
     my $exp_name = "t$test_name.exp";
     my $out = "t$test_name.out";
 
@@ -129,7 +127,7 @@ foreach $test_vector (@Test::t)
 
     my @srcdir_rel_in_file;
     my $f;
-    foreach $f (@{ $h->{ALL_FILES} })
+    foreach $f (@{ $in->{ALL_FILES} })
       {
        push (@srcdir_rel_in_file, "\$srcdir/$f")
       }
index 295c24e..f1a4fa4 100644 (file)
@@ -114,10 +114,8 @@ foreach $test_vector (@Test::t)
     my ($test_name, $flags, $in_spec, $expected, $e_ret_code)
        = @{$test_vector};
 
-    my $h = spec_to_list ($in_spec, $test_name, 'in');
+    my $in = spec_to_list ($in_spec, $test_name, 'in');
 
-    my $in1 = "t$test_name.in1";
-    my $in2 = "t$test_name.in2";
     my $exp_name = "t$test_name.exp";
     my $out = "t$test_name.out";
 
@@ -129,7 +127,7 @@ foreach $test_vector (@Test::t)
 
     my @srcdir_rel_in_file;
     my $f;
-    foreach $f (@{ $h->{ALL_FILES} })
+    foreach $f (@{ $in->{ALL_FILES} })
       {
        push (@srcdir_rel_in_file, "\$srcdir/$f")
       }
index 295c24e..f1a4fa4 100644 (file)
@@ -114,10 +114,8 @@ foreach $test_vector (@Test::t)
     my ($test_name, $flags, $in_spec, $expected, $e_ret_code)
        = @{$test_vector};
 
-    my $h = spec_to_list ($in_spec, $test_name, 'in');
+    my $in = spec_to_list ($in_spec, $test_name, 'in');
 
-    my $in1 = "t$test_name.in1";
-    my $in2 = "t$test_name.in2";
     my $exp_name = "t$test_name.exp";
     my $out = "t$test_name.out";
 
@@ -129,7 +127,7 @@ foreach $test_vector (@Test::t)
 
     my @srcdir_rel_in_file;
     my $f;
-    foreach $f (@{ $h->{ALL_FILES} })
+    foreach $f (@{ $in->{ALL_FILES} })
       {
        push (@srcdir_rel_in_file, "\$srcdir/$f")
       }
index 295c24e..f1a4fa4 100644 (file)
@@ -114,10 +114,8 @@ foreach $test_vector (@Test::t)
     my ($test_name, $flags, $in_spec, $expected, $e_ret_code)
        = @{$test_vector};
 
-    my $h = spec_to_list ($in_spec, $test_name, 'in');
+    my $in = spec_to_list ($in_spec, $test_name, 'in');
 
-    my $in1 = "t$test_name.in1";
-    my $in2 = "t$test_name.in2";
     my $exp_name = "t$test_name.exp";
     my $out = "t$test_name.out";
 
@@ -129,7 +127,7 @@ foreach $test_vector (@Test::t)
 
     my @srcdir_rel_in_file;
     my $f;
-    foreach $f (@{ $h->{ALL_FILES} })
+    foreach $f (@{ $in->{ALL_FILES} })
       {
        push (@srcdir_rel_in_file, "\$srcdir/$f")
       }