reflink: remove unnecessary umounts from test code

The test harness already takes care of this, so get rid of it.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
Darrick J. Wong
2016-02-09 16:44:06 -08:00
parent 0a2b768cb7
commit 89f436e3ac
98 changed files with 0 additions and 230 deletions
-3
View File
@@ -121,9 +121,6 @@ echo "Reflink two files"
_reflink_range "$testdir1/file1" 0 "$testdir1/file2" 0 $blksz >> "$seqres.full"
_reflink_range "$testdir2/file1" 0 "$testdir2/file2" 0 $blksz >> "$seqres.full"
echo "Check scratch fs"
_scratch_unmount
# success, all done
status=0
exit
-1
View File
@@ -22,4 +22,3 @@ XFS_IOC_CLONE_RANGE: Invalid argument
Try to reflink an append-only file
XFS_IOC_CLONE_RANGE: Bad file descriptor
Reflink two files
Check scratch fs
-3
View File
@@ -122,9 +122,6 @@ echo "Dedupe two files"
_dedupe_range "$testdir1/file1" 0 "$testdir1/file2" 0 $blksz >> "$seqres.full"
_dedupe_range "$testdir2/file1" 0 "$testdir2/file2" 0 $blksz >> "$seqres.full"
echo "Check scratch fs"
_scratch_unmount
# success, all done
status=0
exit
-1
View File
@@ -21,4 +21,3 @@ Try to dedupe to a fifo
dedupe: Invalid argument
Try to dedupe an append-only file
Dedupe two files
Check scratch fs
-4
View File
@@ -69,10 +69,6 @@ rm -rf "$testdir/file1" &
_pwrite_byte 0x62 0 $((loops * blksz)) "$testdir/file1" >> "$seqres.full"
wait
echo "Check fs"
umount "$SCRATCH_MNT"
echo "Done"
# success, all done
status=0
exit
-2
View File
@@ -2,5 +2,3 @@ QA output created by 161
Format and mount
Initialize files
Delete while rewriting
Check fs
Done
-4
View File
@@ -85,10 +85,6 @@ echo "Finished dedupeing"
touch "$testdir/finished"
wait
echo "Check fs"
umount "$SCRATCH_MNT"
echo "Done"
# success, all done
status=0
exit
-2
View File
@@ -3,5 +3,3 @@ Format and mount
Initialize files
Dedupe and rewrite the file!
Finished dedupeing
Check fs
Done
-4
View File
@@ -85,10 +85,6 @@ echo "Finished dedupeing"
touch "$testdir/finished"
wait
echo "Check fs"
umount "$SCRATCH_MNT"
echo "Done"
# success, all done
status=0
exit
-2
View File
@@ -3,5 +3,3 @@ Format and mount
Initialize files
Dedupe and rewrite the file!
Finished dedupeing
Check fs
Done
-4
View File
@@ -95,10 +95,6 @@ echo "Finished reflinking"
touch "$testdir/finished"
wait
echo "Check fs"
umount "$SCRATCH_MNT"
echo "Done"
# success, all done
status=0
exit
-2
View File
@@ -3,5 +3,3 @@ Format and mount
Initialize files
Reflink and reread the files!
Finished reflinking
Check fs
Done
-4
View File
@@ -95,10 +95,6 @@ echo "Finished reflinking"
touch "$testdir/finished"
wait
echo "Check fs"
umount "$SCRATCH_MNT"
echo "Done"
# success, all done
status=0
exit
-2
View File
@@ -3,5 +3,3 @@ Format and mount
Initialize files
Reflink and dio reread the files!
Finished reflinking
Check fs
Done
-5
View File
@@ -82,11 +82,6 @@ done
touch $testdir/finished
wait
echo "Check for damage"
_scratch_unmount
echo "Done"
# success, all done
status=0
exit
-2
View File
@@ -2,5 +2,3 @@ QA output created by 166
Format and mount
Initialize file
Snapshot a file undergoing directio rewrite
Check for damage
Done
-5
View File
@@ -82,11 +82,6 @@ done
touch $testdir/finished
wait
echo "Check for damage"
_scratch_unmount
echo "Done"
# success, all done
status=0
exit
-2
View File
@@ -2,5 +2,3 @@ QA output created by 167
Format and mount
Initialize file
Snapshot a file undergoing buffered rewrite
Check for damage
Done
-5
View File
@@ -86,11 +86,6 @@ done
touch "$testdir/finished"
wait
echo "Check for damage"
umount "$SCRATCH_MNT"
echo "Done"
# success, all done
status=0
exit
-2
View File
@@ -2,5 +2,3 @@ QA output created by 168
Format and mount
Initialize files
Reflink and write the target
Check for damage
Done

Some files were not shown because too many files have changed in this diff Show More