btrfs-progs: tests: arg override in command line
authorSu Yue <suy.fnst@cn.fujitsu.com>
Thu, 28 Sep 2017 07:29:19 +0000 (15:29 +0800)
committerDavid Sterba <dsterba@suse.com>
Fri, 6 Oct 2017 11:41:46 +0000 (13:41 +0200)
commit7dbd7f21d5167952085aea0222522f7a809e111c
tree4c2189f0a0e315c1c5c5699fbe5cbdbbecf3b4e1
parent1d4224e4aab14f4967e54f96860f544072cb0442
btrfs-progs: tests: arg override in command line

Lowmem mode only repairs few cases which has a beacon file
".lowmem_repairable" in the case' directory.

However, defining TEST_ENABLE_OVERRIDE=true in command line does work
in above strategy.
Because _skip_spec() in tests/common.local isn't interpreted by shell
in that case.

Solve it by making _skip_spec() always be defined in common.local.

Reported-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com>
[ keep the _skip_spec check ]
Signed-off-by: David Sterba <dsterba@suse.com>
tests/common.local