xfstests: use command line option for setting extra space

Allow the extra free space to leave in large scratch filesystems to
be specified by a command line option rather than just via an
environment variable.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
Dave Chinner
2013-03-15 11:53:24 +00:00
committed by Rich Johnston
parent e3e9647d61
commit 725123ac74
+5
View File
@@ -247,6 +247,11 @@ s/ .*//p
usage usage
;; ;;
--extra-space=*)
export SCRATCH_DEV_EMPTY_SPACE=${r#*=}
xpand=false
;;
*) *)
start=$r start=$r
end=$r end=$r