summaryrefslogtreecommitdiff
path: root/tests/misc/su-fail
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/su-fail')
-rwxr-xr-xtests/misc/su-fail8
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