diff options
| author | Karel Zak <kzak@redhat.com> | 2009-05-27 15:20:01 +0200 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2009-05-27 15:20:01 +0200 |
| commit | b8ab374488069cd7d2b869bd239199cf8c73d366 (patch) | |
| tree | 7b87cc588fb7a945c6d4f2d6cb3a3e0366605d77 /tests/ts/mount | |
| parent | 12f33b23490d07bc061129249a1bb82cf8de2f0d (diff) | |
| download | util-linux-old-b8ab374488069cd7d2b869bd239199cf8c73d366.tar.gz | |
tests: don't run some mount tests for non-root users
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/mount')
| -rwxr-xr-x | tests/ts/mount/noncanonical | 1 | ||||
| -rwxr-xr-x | tests/ts/mount/paths | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/ts/mount/noncanonical b/tests/ts/mount/noncanonical index d9be68be..31149923 100755 --- a/tests/ts/mount/noncanonical +++ b/tests/ts/mount/noncanonical @@ -20,6 +20,7 @@ TS_DESC="non canonical path" . $TS_TOPDIR/functions.sh ts_init "$*" +ts_skip_nonroot [ ! -e "/etc" ] && ts_skip "/etc not such file of directory" diff --git a/tests/ts/mount/paths b/tests/ts/mount/paths index 93b44ae9..bb2cabf3 100755 --- a/tests/ts/mount/paths +++ b/tests/ts/mount/paths @@ -20,6 +20,7 @@ TS_DESC="basic paths" . $TS_TOPDIR/functions.sh ts_init "$*" +ts_skip_nonroot $TS_CMD_MOUNT -n -f -v -v -v /dev/dummy /mnt &> $TS_OUTPUT |
