Whamcloud - gitweb
LU-1538 tests: use $TESTSUITE instead of $0
[fs/lustre-release.git] / lustre / tests / lfsck.sh
index 1c805a1..d8b95cf 100644 (file)
@@ -38,7 +38,7 @@ check_and_setup_lustre
 
 assert_DIR
 
-SAMPLE_FILE=$TMP/$(basename $0 .sh).junk
+SAMPLE_FILE=$TMP/$TESTSUITE.junk
 dd if=/dev/urandom of=$SAMPLE_FILE bs=1M count=1
 
 # Create some dirs and files on the filesystem.
@@ -286,6 +286,6 @@ else
     fi
 fi
 
-complete $(basename $0) $SECONDS
+complete $SECONDS
 check_and_cleanup_lustre
 exit_status