From f5fd871733a17e0c5cfb69d0a001c51c70b930d9 Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@collabora.com> Date: Wed, 20 Sep 2017 17:57:12 +0100 Subject: [PATCH] d/tests/version: Stop working around crash with longer host prefixes Signed-off-by: Simon McVittie <smcv@collabora.com> --- debian/tests/version | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/debian/tests/version b/debian/tests/version index 42c00016b..d696d9db9 100755 --- a/debian/tests/version +++ b/debian/tests/version @@ -25,18 +25,12 @@ if ! bwrap --ro-bind / / true; then skip_all "1..0 # SKIP - cannot run bwrap" fi -if ! [ -d /mnt ]; then - skip_all "1..0 # SKIP - this test needs /mnt" -fi - scratch="$(mktemp -d)" echo "# Working directory: $scratch" cd "$scratch" trap 'cd /; rm -fr $scratch' EXIT -# Work around what appears to be a recent regression? -#host="${scratch}/host" -#mkdir "${host}" -host=/mnt +host="${scratch}/host" +mkdir "${host}" CAPSULE_VERSION="$(pkg-config --variable=libexecdir capsule)/capsule-version" -- GitLab