From a79673ff2a9fd25d845d3d0b39731c258adbbcbb Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 11 Jul 2003 20:40:28 +0000 Subject: 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. --- tests/sample-test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3-70-g09d2