Skip to content

Commit

Permalink
Add test for correct $SCRATCH_MNT into _require_scratch
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christoph Hellwig <hch@lst.de>
  • Loading branch information
jankara authored and Christoph Hellwig committed Jul 21, 2010
1 parent 1760022 commit 034110b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common.rc
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,10 @@ _require_scratch()
then
_notrun "this test requires a valid \$SCRATCH_DEV"
fi
if [ ! -d "$SCRATCH_MNT" ]
then
_notrun "this test requires a valid \$SCRATCH_MNT"
fi
;;
esac

Expand Down

0 comments on commit 034110b

Please sign in to comment.