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 "$testdir1/file1" 0 "$testdir1/file2" 0 $blksz >> "$seqres.full"
_reflink_range "$testdir2/file1" 0 "$testdir2/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 # success, all done
status=0 status=0
exit exit
-1
View File
@@ -22,4 +22,3 @@ XFS_IOC_CLONE_RANGE: Invalid argument
Try to reflink an append-only file Try to reflink an append-only file
XFS_IOC_CLONE_RANGE: Bad file descriptor XFS_IOC_CLONE_RANGE: Bad file descriptor
Reflink two files 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 "$testdir1/file1" 0 "$testdir1/file2" 0 $blksz >> "$seqres.full"
_dedupe_range "$testdir2/file1" 0 "$testdir2/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 # success, all done
status=0 status=0
exit exit
-1
View File
@@ -21,4 +21,3 @@ Try to dedupe to a fifo
dedupe: Invalid argument dedupe: Invalid argument
Try to dedupe an append-only file Try to dedupe an append-only file
Dedupe two files 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" _pwrite_byte 0x62 0 $((loops * blksz)) "$testdir/file1" >> "$seqres.full"
wait wait
echo "Check fs"
umount "$SCRATCH_MNT"
echo "Done"
# success, all done # success, all done
status=0 status=0
exit exit
-2
View File
@@ -2,5 +2,3 @@ QA output created by 161
Format and mount Format and mount
Initialize files Initialize files
Delete while rewriting Delete while rewriting
Check fs
Done
-4
View File
@@ -85,10 +85,6 @@ echo "Finished dedupeing"
touch "$testdir/finished" touch "$testdir/finished"
wait wait
echo "Check fs"
umount "$SCRATCH_MNT"
echo "Done"
# success, all done # success, all done
status=0 status=0
exit exit
-2
View File
@@ -3,5 +3,3 @@ Format and mount
Initialize files Initialize files
Dedupe and rewrite the file! Dedupe and rewrite the file!
Finished dedupeing Finished dedupeing
Check fs
Done
-4
View File
@@ -85,10 +85,6 @@ echo "Finished dedupeing"
touch "$testdir/finished" touch "$testdir/finished"
wait wait
echo "Check fs"
umount "$SCRATCH_MNT"
echo "Done"
# success, all done # success, all done
status=0 status=0
exit exit
-2
View File
@@ -3,5 +3,3 @@ Format and mount
Initialize files Initialize files
Dedupe and rewrite the file! Dedupe and rewrite the file!
Finished dedupeing Finished dedupeing
Check fs
Done
-4
View File
@@ -95,10 +95,6 @@ echo "Finished reflinking"
touch "$testdir/finished" touch "$testdir/finished"
wait wait
echo "Check fs"
umount "$SCRATCH_MNT"
echo "Done"
# success, all done # success, all done
status=0 status=0
exit exit
-2
View File
@@ -3,5 +3,3 @@ Format and mount
Initialize files Initialize files
Reflink and reread the files! Reflink and reread the files!
Finished reflinking Finished reflinking
Check fs
Done
-4
View File
@@ -95,10 +95,6 @@ echo "Finished reflinking"
touch "$testdir/finished" touch "$testdir/finished"
wait wait
echo "Check fs"
umount "$SCRATCH_MNT"
echo "Done"
# success, all done # success, all done
status=0 status=0
exit exit
-2
View File
@@ -3,5 +3,3 @@ Format and mount
Initialize files Initialize files
Reflink and dio reread the files! Reflink and dio reread the files!
Finished reflinking Finished reflinking
Check fs
Done
-5
View File
@@ -82,11 +82,6 @@ done
touch $testdir/finished touch $testdir/finished
wait wait
echo "Check for damage"
_scratch_unmount
echo "Done"
# success, all done # success, all done
status=0 status=0
exit exit
-2
View File
@@ -2,5 +2,3 @@ QA output created by 166
Format and mount Format and mount
Initialize file Initialize file
Snapshot a file undergoing directio rewrite Snapshot a file undergoing directio rewrite
Check for damage
Done
-5
View File
@@ -82,11 +82,6 @@ done
touch $testdir/finished touch $testdir/finished
wait wait
echo "Check for damage"
_scratch_unmount
echo "Done"
# success, all done # success, all done
status=0 status=0
exit exit
-2
View File
@@ -2,5 +2,3 @@ QA output created by 167
Format and mount Format and mount
Initialize file Initialize file
Snapshot a file undergoing buffered rewrite Snapshot a file undergoing buffered rewrite
Check for damage
Done
-5
View File
@@ -86,11 +86,6 @@ done
touch "$testdir/finished" touch "$testdir/finished"
wait wait
echo "Check for damage"
umount "$SCRATCH_MNT"
echo "Done"
# success, all done # success, all done
status=0 status=0
exit exit
-2
View File
@@ -2,5 +2,3 @@ QA output created by 168
Format and mount Format and mount
Initialize files Initialize files
Reflink and write the target 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