Make sure that we still have the scratch directory after repairing our
corrupted filesystem, because repair could have nuked it.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
echo "+ modify files (2)"
broken=0
+# Make sure that we still have the scratch directory after repairing our
+# corrupted filesystem, because repair could have nuked it.
+mkdir -p "${TESTDIR}"
for x in `seq 65 70`; do
touch "${TESTFILE}.${x}" || broken=1
done