summaryrefslogtreecommitdiff
path: root/tests/misc/chroot-fail
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/chroot-fail')
-rwxr-xr-xtests/misc/chroot-fail8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/misc/chroot-fail b/tests/misc/chroot-fail
index 6b4e2d8e1..a3044f70b 100755
--- a/tests/misc/chroot-fail
+++ b/tests/misc/chroot-fail
@@ -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
# These tests verify exact status of internal failure; since none of