Commit 06806e38d8675995ee05a247ba119d7efb7fc49a
Committed by
Tom Rini
1 parent
86853568ae
Exists in
v2017.01-smarct4x
and in
25 other branches
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>
Showing 1 changed file with 4 additions and 6 deletions Side-by-side Diff
test/fs/fs-test.sh
... | ... | @@ -470,9 +470,9 @@ |
470 | 470 | # Check 1mb chunk write |
471 | 471 | grep -A3 "Test Case 11a " "$1" | \ |
472 | 472 | egrep -q '1048576 bytes written|update journal' |
473 | - pass_fail "TC11: 1MB write to $5 - write succeeded" | |
473 | + pass_fail "TC11: 1MB write to $3.w - write succeeded" | |
474 | 474 | check_md5 "Test Case 11b " "$1" "$2" 1 \ |
475 | - "TC11: 1MB write to $5 - content verified" | |
475 | + "TC11: 1MB write to $3.w - content verified" | |
476 | 476 | echo "** End $1" |
477 | 477 | } |
478 | 478 | |
... | ... | @@ -486,8 +486,7 @@ |
486 | 486 | OUT_FILE="${OUT}.$1.${fs}.out" |
487 | 487 | test_image $IMAGE $fs $SMALL_FILE $BIG_FILE $1 "" \ |
488 | 488 | > ${OUT_FILE} 2>&1 |
489 | - check_results $OUT_FILE $MD5_FILE_FS $SMALL_FILE $BIG_FILE \ | |
490 | - $WRITE_FILE | |
489 | + check_results $OUT_FILE $MD5_FILE_FS $SMALL_FILE $BIG_FILE | |
491 | 490 | TOTAL_FAIL=$((TOTAL_FAIL + FAIL)) |
492 | 491 | TOTAL_PASS=$((TOTAL_PASS + PASS)) |
493 | 492 | echo "Summary: PASS: $PASS FAIL: $FAIL" |
... | ... | @@ -537,8 +536,7 @@ |
537 | 536 | sudo umount "$MOUNT_DIR" |
538 | 537 | rmdir "$MOUNT_DIR" |
539 | 538 | |
540 | - check_results $OUT_FILE $MD5_FILE_FS $SMALL_FILE $BIG_FILE \ | |
541 | - $WRITE_FILE | |
539 | + check_results $OUT_FILE $MD5_FILE_FS $SMALL_FILE $BIG_FILE | |
542 | 540 | TOTAL_FAIL=$((TOTAL_FAIL + FAIL)) |
543 | 541 | TOTAL_PASS=$((TOTAL_PASS + PASS)) |
544 | 542 | echo "Summary: PASS: $PASS FAIL: $FAIL" |