From: Ruediger Meier Date: Thu, 17 Dec 2015 15:56:14 +0000 (+0100) Subject: tests: wipefs fix, ts_init was called too late X-Git-Tag: v2.28-rc1~211 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0e0c823874c325a65293e1fdab9e6f965b7e0552;p=thirdparty%2Futil-linux.git tests: wipefs fix, ts_init was called too late Signed-off-by: Ruediger Meier --- diff --git a/tests/ts/wipefs/wipefs b/tests/ts/wipefs/wipefs index d472678272..2a296df78d 100755 --- a/tests/ts/wipefs/wipefs +++ b/tests/ts/wipefs/wipefs @@ -4,11 +4,12 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="wipefs" . $TS_TOPDIR/functions.sh -ts_skip_nonroot ts_init "$*" ts_check_test_command "$TS_CMD_WIPEFS" +ts_skip_nonroot + # set global variable TS_DEVICE ts_scsi_debug_init dev_size_mb=50 num_parts=2