Skip to content
Snippets Groups Projects
Commit f5fd8717 authored by Simon McVittie's avatar Simon McVittie
Browse files

d/tests/version: Stop working around crash with longer host prefixes

parent cde02fd2
Branches
Tags
1 merge request!311Build capsule-capture-libs from a bundled copy of libcapsule
...@@ -25,18 +25,12 @@ if ! bwrap --ro-bind / / true; then ...@@ -25,18 +25,12 @@ if ! bwrap --ro-bind / / true; then
skip_all "1..0 # SKIP - cannot run bwrap" skip_all "1..0 # SKIP - cannot run bwrap"
fi fi
if ! [ -d /mnt ]; then
skip_all "1..0 # SKIP - this test needs /mnt"
fi
scratch="$(mktemp -d)" scratch="$(mktemp -d)"
echo "# Working directory: $scratch" echo "# Working directory: $scratch"
cd "$scratch" cd "$scratch"
trap 'cd /; rm -fr $scratch' EXIT trap 'cd /; rm -fr $scratch' EXIT
# Work around what appears to be a recent regression? host="${scratch}/host"
#host="${scratch}/host" mkdir "${host}"
#mkdir "${host}"
host=/mnt
CAPSULE_VERSION="$(pkg-config --variable=libexecdir capsule)/capsule-version" CAPSULE_VERSION="$(pkg-config --variable=libexecdir capsule)/capsule-version"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment