summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-19 17:10:23 +0200
committerJim Meyering <meyering@redhat.com>2009-08-19 17:10:23 +0200
commita70ac4ef3236afdd1e23e30c1094a2c3557d7c70 (patch)
tree32d8440c8c9815fd6a14f6be8a7a37c4939630be
parent112bccb26bc32081640d7d6c8b3ad29b0a4c7a2a (diff)
downloadcoreutils-a70ac4ef3236afdd1e23e30c1094a2c3557d7c70.tar.xz
tests: make install-C slightly less prone to confusion
* tests/install/install-C: Invoke framework_failure, if necessary.
-rwxr-xr-xtests/install/install-C6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/install/install-C b/tests/install/install-C
index 959bee192..a1a9d6831 100755
--- a/tests/install/install-C
+++ b/tests/install/install-C
@@ -31,10 +31,10 @@ mode3=2755
fail=0
echo test > a || framework_failure
-echo "\`a' -> \`b'" > out_installed_first
+echo "\`a' -> \`b'" > out_installed_first || framework_failure
echo "removed \`b'
-\`a' -> \`b'" > out_installed_second
-> out_empty
+\`a' -> \`b'" > out_installed_second || framework_failure
+: > out_empty || framework_failure
# destination file does not exist
ginstall -Cv -m$mode1 a b > out || fail=1