]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
use exp_name in msg when open EXP fails.
authorJim Meyering <jim@meyering.net>
Mon, 30 Sep 1996 02:57:28 +0000 (02:57 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 30 Sep 1996 02:57:28 +0000 (02:57 +0000)
tests/sort/build-script.pl

index d7474f5a94480a08f8ab75344d26ec69c368919e..7df033cbc0ed4c8441fdc5380db83ff608e799b3 100644 (file)
@@ -43,7 +43,7 @@ foreach $test_vector (@Test::t)
     open (IN, ">$in") || die "$0: $in: $!\n";
     print IN $input;
     close (IN) || die "$0: $in: $!\n";
-    open (EXP, ">$exp_name") || die "$0: $in: $!\n";
+    open (EXP, ">$exp_name") || die "$0: $exp_name: $!\n";
     print EXP $expected;
     close (EXP) || die "$0: $exp_name: $!\n";
     my $err_output = "t$test_name.err";