diff options
Diffstat (limited to 'tests/fs-tests/fs_run_all.sh.in')
-rwxr-xr-x | tests/fs-tests/fs_run_all.sh.in | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/tests/fs-tests/fs_run_all.sh.in b/tests/fs-tests/fs_run_all.sh.in new file mode 100755 index 0000000..a3676f9 --- /dev/null +++ b/tests/fs-tests/fs_run_all.sh.in @@ -0,0 +1,51 @@ +#!/bin/sh + +prefix=@prefix@ +exec_prefix=@exec_prefix@ +bindir=@bindir@ +libexecpath=@libexecdir@/mtd-utils +TESTBINDIR=@testbindir@ + +TEST_DIR=$TEST_FILE_SYSTEM_MOUNT_DIR +if test -z "$TEST_DIR"; +then + TEST_DIR="/mnt/test_file_system" +fi + +rm -rf ${TEST_DIR}/* + +$TESTBINDIR/test_1 || exit 1 + +rm -rf ${TEST_DIR}/* + +$TESTBINDIR/test_2 || exit 1 + +rm -rf ${TEST_DIR}/* + +$TESTBINDIR/integck $TEST_DIR || exit 1 + +rm -rf ${TEST_DIR}/* + +$TESTBINDIR/rndrm00 -z0 || exit 1 + +rm -rf ${TEST_DIR}/* + +$TESTBINDIR/rmdir00 -z0 || exit 1 + +rm -rf ${TEST_DIR}/* + +$TESTBINDIR/stress_1 -z10000000 -e || exit 1 + +rm -rf ${TEST_DIR}/* + +$TESTBINDIR/stress_2 -z10000000 || exit 1 + +rm -rf ${TEST_DIR}/* + +$TESTBINDIR/stress_3 -z1000000000 -e || exit 1 + +rm -rf ${TEST_DIR}/* + +$TESTBINDIR/fs_stress00.sh 360 || exit 1 + +$TESTBINDIR/fs_stress01.sh 360 || exit 1 |