From: Dave Chinner Date: Fri, 15 Mar 2013 11:53:24 +0000 (+0000) Subject: xfstests: use command line option for setting extra space X-Git-Tag: v2022.05.01~3506 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=725123ac7478968def1afb8ce78a18ce7ff6941c;p=xfstests-dev.git 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 Reviewed-by: Christoph Hellwig Reviewed-by: Rich Johnston Signed-off-by: Rich Johnston --- diff --git a/common b/common index da86cd91..78ac6544 100644 --- a/common +++ b/common @@ -247,6 +247,11 @@ s/ .*//p usage ;; + --extra-space=*) + export SCRATCH_DEV_EMPTY_SPACE=${r#*=} + xpand=false + ;; + *) start=$r end=$r