diff options
author | Jim Meyering <meyering@redhat.com> | 2010-11-14 12:02:39 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-11-17 20:48:57 +0100 |
commit | ff7f0ff85c40174f1885ec61fa4ab6b73d02b555 (patch) | |
tree | f3b51b82bcee4d908f31adab1c09552e77e54fe2 /tests/misc/su-fail | |
parent | f38becab02472e6872048a1951b249b2a3c054df (diff) | |
download | coreutils-ff7f0ff85c40174f1885ec61fa4ab6b73d02b555.tar.xz |
tests: convert 'if test "$VERBOSE" = yes; then' to test ... &&
Diffstat (limited to 'tests/misc/su-fail')
-rwxr-xr-x | tests/misc/su-fail | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/misc/su-fail b/tests/misc/su-fail index c230f1754..4c57c945b 100755 --- a/tests/misc/su-fail +++ b/tests/misc/su-fail @@ -17,13 +17,9 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. . $srcdir/test-lib.sh -require_built_ su - -if test "$VERBOSE" = yes; then - set -x - su --version -fi +test "$VERBOSE" = yes && su --version +require_built_ su # Very little that we can test without a root password su --- / true # unknown option |