projects
/
xfstests-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Abort tests if a failure is encountered while creating/writing test files.
[xfstests-dev.git]
/
180
diff --git
a/180
b/180
index 5af603e6535b0267b12c6961fc7288cf16709684..20b174a760b9f87321a3f2c0d3b06a257d23ee1f 100644
(file)
--- a/
180
+++ b/
180
@@
-73,6
+73,11
@@
while [ $i -lt 1000 ]
do
file=$SCRATCH_MNT/$i
xfs_io -f -c "pwrite -b 64k -S 0xff 0 10m" $file > /dev/null
+ if [ $? -ne 0 ]
+ then
+ echo error creating/writing file $file
+ exit
+ fi
i=`expr $i + 1`
done