From d888cd4cfcccdc5e881e11d64007061318223590 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Fri, 16 Oct 2020 13:20:45 +0100 Subject: [PATCH] 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 --- test/TEST-50-DISSECT/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/TEST-50-DISSECT/test.sh b/test/TEST-50-DISSECT/test.sh index f274b73522..073ca8c31b 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