Polished hardlink test

This commit is contained in:
Thomas Schmitt 2011-06-27 15:21:14 +00:00
parent 5209e791b9
commit cdff498239
1 changed files with 7 additions and 4 deletions

View File

@ -92,7 +92,7 @@ do
elif test x"$i" = x"-keep" elif test x"$i" = x"-keep"
then then
keep=1 keep=1
elif test x"$i" = x"-clean_up" elif test x"$i" = x"-cleanup"
then then
keep=0 keep=0
clean_up clean_up
@ -101,7 +101,7 @@ do
then then
next_is_xorriso=1 next_is_xorriso=1
else else
echo "Usage: $0 [-rc FILE] [-keep] [-clean_up] [-xorriso PATH]" >&2 echo "Usage: $0 [-rc FILE] [-keep] [-cleanup] [-xorriso PATH]" >&2
exit 2 exit 2
fi fi
done done
@ -129,7 +129,7 @@ then
fi fi
if test "$bad" = 1 if test "$bad" = 1
then then
exit 1 exit 3
fi fi
echo "=== Setting up $on_disk with several hardlinks" >&2 echo "=== Setting up $on_disk with several hardlinks" >&2
@ -197,8 +197,11 @@ echo
if test "$failure" = 1 if test "$failure" = 1
then then
echo "======== $prog :" 'FAILED' echo "======== $prog :" 'FAILED'
echo FAIL
exit 1
else else
echo "======== $prog :" "Passed" echo "======== $prog :" "Passed"
echo
fi fi
echo
exit 0