mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-05-28 13:18:08 +02:00
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.
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ fi
|
||||
fail=0
|
||||
|
||||
FIXME > out || fail=1
|
||||
cat <<\EOF > exp
|
||||
cat <<\EOF > exp || fail=1
|
||||
FIXME
|
||||
EOF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user