summaryrefslogtreecommitdiff
path: root/tests/u_tune2fs/script
diff options
context:
space:
mode:
Diffstat (limited to 'tests/u_tune2fs/script')
-rw-r--r--tests/u_tune2fs/script8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/u_tune2fs/script b/tests/u_tune2fs/script
index 222b95f3..4cc1e0c0 100644
--- a/tests/u_tune2fs/script
+++ b/tests/u_tune2fs/script
@@ -1,4 +1,4 @@
-printf "e2undo with tune2fs: "
+test_description="e2undo with tune2fs"
if test -x $E2UNDO_EXE; then
E2FSPROGS_UNDO_DIR=/tmp
@@ -24,13 +24,11 @@ new_md5=`md5sum $TMPFILE | cut -d " " -f 1`
echo md5sum after e2undo $new_md5 >> $OUT
if [ $md5 = $new_md5 ]; then
- echo "ok"
+ echo "$test_name: $test_description: ok"
touch $test_name.ok
- rm -f $test_name.failed
else
- rm -f $test_name.ok
ln -f $test_name.log $test_name.failed
- echo "failed"
+ echo "$test_name: $test_description: failed"
fi
rm -f $TDB_FILE $TMPFILE
fi