diff options
author | Jim Meyering <jim@meyering.net> | 2003-07-11 20:40:28 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-07-11 20:40:28 +0000 |
commit | a79673ff2a9fd25d845d3d0b39731c258adbbcbb (patch) | |
tree | c15ff762170b991d2f51f1b65fcc02a6b4fefd96 | |
parent | 6568f37384f0a070d25a5448a7bfccc33e7e6620 (diff) | |
download | coreutils-a79673ff2a9fd25d845d3d0b39731c258adbbcbb.tar.xz |
Also fail if cat-to-create-expected-output
fails. Otherwise, if both `exp' and `out' end up empty because
of e.g., a full disk, they would mistakenly compare equal.
-rw-r--r-- | tests/sample-test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sample-test b/tests/sample-test index 9cb755c55..7552fb410 100644 --- a/tests/sample-test +++ b/tests/sample-test @@ -28,7 +28,7 @@ fi fail=0 FIXME > out || fail=1 -cat <<\EOF > exp +cat <<\EOF > exp || fail=1 FIXME EOF |