diff options
author | Matthew Woehlke <mw_triad@users.sourceforge.net> | 2008-04-16 19:15:05 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-04-16 19:16:13 +0200 |
commit | 0d03baa068c20f09bcba3a915fd756db7359a7fa (patch) | |
tree | d4eac8742397bbc1e4ac154594f567e71b94b80f /tests | |
parent | 57ae7da07593ab0134e120ea79819fdd069563a1 (diff) | |
download | coreutils-0d03baa068c20f09bcba3a915fd756db7359a7fa.tar.xz |
tests: accommodate built-in mknod more cleanly still
* tests/mkdir/selinux: Use "env" rather than "nice".
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/mkdir/selinux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mkdir/selinux b/tests/mkdir/selinux index 45c23998d..91b23b14e 100755 --- a/tests/mkdir/selinux +++ b/tests/mkdir/selinux @@ -38,8 +38,8 @@ msg="failed to set default file creation context to \`$c':" for cmd_w_arg in 'mkdir dir' 'mknod b p' 'mkfifo f'; do # In OpenBSD's /bin/sh, mknod is a shell built-in. - # Running via "nice" ensures we run our program and not the built-in. - nice -- $cmd_w_arg -Z $c 2> out && fail=1 + # Running via "env" ensures we run our program and not the built-in. + env -- $cmd_w_arg -Z $c 2> out && fail=1 set $cmd_w_arg; cmd=$1 echo "$cmd: $msg" > exp || fail=1 |