mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-16 04:12:26 +02:00
tests: make install-C slightly less prone to confusion
* tests/install/install-C: Invoke framework_failure, if necessary.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user