From: Luca Boccassi Date: Fri, 16 Oct 2020 12:20:45 +0000 (+0100) Subject: test: fix TEST-50-DISSECT build on Ubuntu CI X-Git-Tag: v247-rc1~56^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d888cd4cfcccdc5e881e11d64007061318223590;p=thirdparty%2Fsystemd.git test: fix TEST-50-DISSECT build on Ubuntu CI Ubuntu CI's just got the dependencies require dto run this test added, and it seems the build is different enough from other platforms that it fails to create the required directories: cp: cannot create regular file '/var/tmp/systemd-test.JJMOBY/minimal/usr/lib/os-release': No such file or directory --- diff --git a/test/TEST-50-DISSECT/test.sh b/test/TEST-50-DISSECT/test.sh index f274b73522b..073ca8c31b9 100755 --- a/test/TEST-50-DISSECT/test.sh +++ b/test/TEST-50-DISSECT/test.sh @@ -37,7 +37,7 @@ test_create_image() { ) oldinitdir=$initdir export initdir=$TESTDIR/minimal - mkdir -p $initdir + mkdir -p $initdir/usr/lib $initdir/etc setup_basic_dirs install_basic_tools cp $os_release $initdir/usr/lib/os-release