summaryrefslogtreecommitdiff
path: root/tests/ts-mount-label
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts-mount-label')
-rwxr-xr-xtests/ts-mount-label12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/ts-mount-label b/tests/ts-mount-label
index 2861d531..f5d0bef5 100755
--- a/tests/ts-mount-label
+++ b/tests/ts-mount-label
@@ -1,14 +1,14 @@
#!/bin/bash
-#
+#
# Copyright (C) 2007 Karel Zak <kzak@redhat.com>
-#
+#
# This file is part of util-linux-ng.
-#
+#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License.
-#
+#
# This file is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -23,7 +23,7 @@ TS_DESC="label"
LABEL="testMountLabel"
-ts_init "$1"
+ts_init "$*"
ts_skip_nonroot
set -o pipefail
@@ -31,7 +31,7 @@ set -o pipefail
DEVICE=$(ts_device_init)
[ "$?" == 0 ] || ts_die "Cannot init device"
-mkfs.ext3 -L $LABEL $DEVICE &> /dev/null
+mkfs.ext3 -L $LABEL $DEVICE &> /dev/null
[ "$?" == "0" ] || ts_die "Cannot make ext3 on $DEVICE" $DEVICE
ts_device_has "LABEL" $LABEL $DEVICE