bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] tests: make install-C slightly less prone to confusion


From: Jim Meyering
Subject: [PATCH] tests: make install-C slightly less prone to confusion
Date: Wed, 19 Aug 2009 22:17:45 +0200

FYI, a tiny test tweak:

>From a70ac4ef3236afdd1e23e30c1094a2c3557d7c70 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Wed, 19 Aug 2009 17:10:23 +0200
Subject: [PATCH] tests: make install-C slightly less prone to confusion

* tests/install/install-C: Invoke framework_failure, if necessary.
---
 tests/install/install-C |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/install/install-C b/tests/install/install-C
index 959bee1..a1a9d68 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
--
1.6.4.378.g88f2f




reply via email to

[Prev in Thread] Current Thread [Next in Thread]