mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2025-09-10 07:59:52 +02:00
More misc, test-related changes. (some to allow running tests as root)
This commit is contained in:
@@ -31,14 +31,9 @@ tmp_out=dd-out.$$
|
||||
|
||||
fail=0
|
||||
warn=0
|
||||
test_failure=0
|
||||
echo data > $tmp_in || test_failure=1
|
||||
ln $tmp_in $tmp_in2 || test_failure=1
|
||||
ln -s $tmp_in $tmp_sym || test_failure=1
|
||||
if test $test_failure = 1; then
|
||||
echo 'failure in testing framework'
|
||||
exit 1
|
||||
fi
|
||||
echo data > $tmp_in || framework_failure
|
||||
ln $tmp_in $tmp_in2 || framework_failure
|
||||
ln -s $tmp_in $tmp_sym || framework_failure
|
||||
|
||||
dd if=$tmp_in of=$tmp_out 2> /dev/null || fail=1
|
||||
compare $tmp_in $tmp_out || fail=1
|
||||
|
||||
Reference in New Issue
Block a user