From 725123ac7478968def1afb8ce78a18ce7ff6941c Mon Sep 17 00:00:00 2001 From: Dave Chinner Date: Fri, 15 Mar 2013 11:53:24 +0000 Subject: [PATCH] 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 --- common | 5 +++++ 1 file changed, 5 insertions(+) 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