diff options
author | Karel Zak | 2009-05-27 15:20:01 +0200 |
---|---|---|
committer | Karel Zak | 2009-05-27 15:20:01 +0200 |
commit | b8ab374488069cd7d2b869bd239199cf8c73d366 (patch) | |
tree | 7b87cc588fb7a945c6d4f2d6cb3a3e0366605d77 /tests/functions.sh | |
parent | tests: fix reiserfs test (diff) | |
download | kernel-qcow2-util-linux-b8ab374488069cd7d2b869bd239199cf8c73d366.tar.gz kernel-qcow2-util-linux-b8ab374488069cd7d2b869bd239199cf8c73d366.tar.xz kernel-qcow2-util-linux-b8ab374488069cd7d2b869bd239199cf8c73d366.zip |
tests: don't run some mount tests for non-root users
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/functions.sh')
-rw-r--r-- | tests/functions.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functions.sh b/tests/functions.sh index 5e8509f72..50ef12d8c 100644 --- a/tests/functions.sh +++ b/tests/functions.sh @@ -153,7 +153,7 @@ function ts_init_subtest { [ $TS_NSUBTESTS -eq 0 ] && echo TS_NSUBTESTS=$(( $TS_NSUBTESTS + 1 )) - printf "%18s: %-27s ..." "" "$TS_SUBNAME" + printf "%16s: %-27s ..." "" "$TS_SUBNAME" } function ts_init { @@ -161,7 +161,7 @@ function ts_init { ts_init_env "$*" - printf "%15s: %-30s ..." "$TS_COMPONENT" "$TS_DESC" + printf "%13s: %-30s ..." "$TS_COMPONENT" "$TS_DESC" [ "$is_fake" == "yes" ] && ts_skip "fake mode" } @@ -218,7 +218,7 @@ function ts_finalize { done if [ $TS_NSUBTESTS -ne 0 ]; then - printf "%13s..." + printf "%11s..." if [ $TS_NSUBFAILED -ne 0 ]; then ts_failed "$TS_NSUBFAILED from $TS_NSUBTESTS sub-tests" else |