summaryrefslogtreecommitdiff
path: root/tests/misc/chroot-credentials
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/chroot-credentials')
-rwxr-xr-xtests/misc/chroot-credentials8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/misc/chroot-credentials b/tests/misc/chroot-credentials
index bf79c05ce..e671f7fc8 100755
--- a/tests/misc/chroot-credentials
+++ b/tests/misc/chroot-credentials
@@ -17,12 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if test "$VERBOSE" = yes; then
- set -x
- chroot --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && chroot --version
require_root_