diff options
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | 2016-09-14 01:01:28 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-09-23 08:57:42 -0400 |
commit | 06806e38d8675995ee05a247ba119d7efb7fc49a (patch) | |
tree | 1cb271ce63b593cc7c55c1b345f3b7bc2d1e80ba /test/fs | |
parent | 86853568aebd7f81d87bd5f3d9f3b26867edee16 (diff) |
test/fs: remove use of undefined WRITE_FILE variable
The write file is created from $SMALL_FILE by appending ".w" on all
other occurences in the code.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Diffstat (limited to 'test/fs')
-rwxr-xr-x | test/fs/fs-test.sh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/test/fs/fs-test.sh b/test/fs/fs-test.sh index f95350bac2..96158983ae 100755 --- a/test/fs/fs-test.sh +++ b/test/fs/fs-test.sh @@ -470,9 +470,9 @@ function check_results() { # Check 1mb chunk write grep -A3 "Test Case 11a " "$1" | \ egrep -q '1048576 bytes written|update journal' - pass_fail "TC11: 1MB write to $5 - write succeeded" + pass_fail "TC11: 1MB write to $3.w - write succeeded" check_md5 "Test Case 11b " "$1" "$2" 1 \ - "TC11: 1MB write to $5 - content verified" + "TC11: 1MB write to $3.w - content verified" echo "** End $1" } @@ -486,8 +486,7 @@ function test_fs_nonfs() { OUT_FILE="${OUT}.$1.${fs}.out" test_image $IMAGE $fs $SMALL_FILE $BIG_FILE $1 "" \ > ${OUT_FILE} 2>&1 - check_results $OUT_FILE $MD5_FILE_FS $SMALL_FILE $BIG_FILE \ - $WRITE_FILE + check_results $OUT_FILE $MD5_FILE_FS $SMALL_FILE $BIG_FILE TOTAL_FAIL=$((TOTAL_FAIL + FAIL)) TOTAL_PASS=$((TOTAL_PASS + PASS)) echo "Summary: PASS: $PASS FAIL: $FAIL" @@ -537,8 +536,7 @@ for fs in ext4 fat; do sudo umount "$MOUNT_DIR" rmdir "$MOUNT_DIR" - check_results $OUT_FILE $MD5_FILE_FS $SMALL_FILE $BIG_FILE \ - $WRITE_FILE + check_results $OUT_FILE $MD5_FILE_FS $SMALL_FILE $BIG_FILE TOTAL_FAIL=$((TOTAL_FAIL + FAIL)) TOTAL_PASS=$((TOTAL_PASS + PASS)) echo "Summary: PASS: $PASS FAIL: $FAIL" |