mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-07-25 18:19:00 +02:00
add another test
This commit is contained in:
@@ -18,6 +18,7 @@ mkdir $tmp || framework_failure=1
|
||||
cd $tmp || framework_failure=1
|
||||
echo abc > foo || framework_failure=1
|
||||
ln -s foo slink || framework_failure=1
|
||||
ln -s no-such-file no-file || framework_failure=1
|
||||
|
||||
if test $framework_failure = 1; then
|
||||
echo '$0: failure in testing framework' 1>&2
|
||||
@@ -26,6 +27,9 @@ fi
|
||||
|
||||
fail=0
|
||||
|
||||
# This must fail.
|
||||
cp -r no-file junk 2>/dev/null && fail=1
|
||||
|
||||
cp -r slink bar || fail=1
|
||||
set x `ls -l bar`; shift; mode=$1
|
||||
case $mode in
|
||||
|
||||
Reference in New Issue
Block a user