summaryrefslogtreecommitdiff
path: root/tests/chgrp/no-x
diff options
context:
space:
mode:
Diffstat (limited to 'tests/chgrp/no-x')
-rwxr-xr-xtests/chgrp/no-x8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/chgrp/no-x b/tests/chgrp/no-x
index a8e49cddb..e3a4aefd0 100755
--- a/tests/chgrp/no-x
+++ b/tests/chgrp/no-x
@@ -17,12 +17,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if test "$VERBOSE" = yes; then
- set -x
- chgrp --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && chgrp --version
require_membership_in_two_groups_
skip_if_root_