summaryrefslogtreecommitdiff
path: root/tests/fs-tests/stress/stress01.sh
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2016-07-13 16:10:28 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2016-11-17 11:36:55 +0100
commit8a00021b2ab5529640e5acaca30a27cdaca04178 (patch)
tree0944317c3e431143eedca84429348334a725e716 /tests/fs-tests/stress/stress01.sh
parentd39ea7019cb204420c53a203ff9ccbb4cab0d4b3 (diff)
Integrate tests into autotools build system
Add automake files for the test binaries. If configured to do so, install the test binaries to libexec/mtd-utils and use autoconf to fix the paths in the test scripts. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'tests/fs-tests/stress/stress01.sh')
-rwxr-xr-xtests/fs-tests/stress/stress01.sh40
1 files changed, 0 insertions, 40 deletions
diff --git a/tests/fs-tests/stress/stress01.sh b/tests/fs-tests/stress/stress01.sh
deleted file mode 100755
index 5913c1c..0000000
--- a/tests/fs-tests/stress/stress01.sh
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-
-TEST_DIR=$TEST_FILE_SYSTEM_MOUNT_DIR
-if test -z "$TEST_DIR";
-then
- TEST_DIR="/mnt/test_file_system"
-fi
-
-FREESPACE=`../utils/free_space "$TEST_DIR"`
-
-if test -z "$FREESPACE";
-then
- echo "Failed to determine free space"
- exit 1
-fi
-
-if test -n "$1";
-then
- DURATION="-d$1";
-else
- DURATION="";
-fi
-
-FWRITE00=atoms/fwrite00
-RNDWR=atoms/rndwrite00
-PDFLUSH=atoms/pdfrun
-FSIZE=$(( $FREESPACE/15 ));
-
-../utils/fstest_monitor $DURATION \
-"$FWRITE00 -z $FSIZE -n0 -p 300" \
-"$FWRITE00 -z $FSIZE -n0 -u" \
-"$FWRITE00 -z $FSIZE -n0 -u -c" \
-"$FWRITE00 -z $FSIZE -n0 -s -o" \
-"$RNDWR -z $FSIZE -n0 -e"
-
-STATUS=$?
-
-rm -rf ${TEST_DIR}/*
-
-exit $STATUS