xfstests 225: Run with different random seeds
PATCH 1/1 xfstests 225: Run with different random seeds
Running the fiemap-tester with a unique random seed each time may uncover some things missed by always using the default.
Signed-off-by Eric Sandeen <[email protected]>
---
225 +6 -2
@@ -60,11 +60,15 @@ _cleanup() } trap "_cleanup; exit \$status" 0 1 2 3 15 +seed=`date +%s` + +echo "using seed $seed" >> $fiemaplog + echo "fiemap run without preallocation, with sync" -$here/src/fiemap-tester -q -S -p 0 -r 200 $fiemapfile 2>&1 | tee $fiemaplog +$here/src/fiemap-tester -q -S -s $seed -p 0 -r 200 $fiemapfile 2>&1 | tee -a $fiemaplog echo "fiemap run without preallocation or sync" -$here/src/fiemap-tester -q -p 0 -r 200 $fiemapfile 2>&1 | tee $fiemaplog +$here/src/fiemap-tester -q -s $seed -p 0 -r 200 $fiemapfile 2>&1 | tee -a $fiemaplog if grep -q "Operation not supported" $fiemaplog; then _notrun "FIEMAP not supported by this filesystem type: $FSTYP"
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 4 lines · Eric Sandeen
Running the fiemap-tester with a unique random seed each time may uncover some things missed by always using the default.
Signed-off-by Eric Sandeen <[email protected]>
Looks good.
Reviewed-by Alex Elder <[email protected]>
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs