Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEST-19-DELEGATE is failing with Failed to find executable test: No such file or directory #7425

Closed
evverx opened this issue Nov 22, 2017 · 1 comment
Labels
bug 🐛 Programming errors, that need preferential fixing tests

Comments

@evverx
Copy link
Member

evverx commented Nov 22, 2017

test is not installed when an image is prepared, so the test fails to find it. This could be fixed by applying the following patch:

diff --git a/test/test-functions b/test/test-functions
index 853ef5d31..a2f82725d 100644
--- a/test/test-functions
+++ b/test/test-functions
@@ -21,7 +21,7 @@ if ! ROOTLIBDIR=$(pkg-config --variable=systemdutildir systemd); then
     ROOTLIBDIR=/usr/lib/systemd
 fi

-BASICTOOLS="sh bash setsid loadkeys setfont login sulogin gzip sleep echo mount umount cryptsetup date dmsetup modprobe sed cmp tee rm true false"
+BASICTOOLS="test sh bash setsid loadkeys setfont login sulogin gzip sleep echo mount umount cryptsetup date dmsetup modprobe sed cmp tee rm true false"
 DEBUGTOOLS="df free ls stty cat ps ln ip route dmesg dhclient mkdir cp ping dhclient strace less grep id tty touch du sort hostname find"

 STATEDIR="${BUILD_DIR:-.}/test/$(basename $(dirname $(realpath $0)))"

but it would be better to fix install_execs somehow.

@evverx evverx added bug 🐛 Programming errors, that need preferential fixing tests labels Nov 22, 2017
@keszybz
Copy link
Member

keszybz commented Nov 23, 2017

That patch does not look to bad. Can you submit it as PR to unbreak CI, and then we can think about a long-term solution?

evverx added a commit to evverx/systemd that referenced this issue Nov 23, 2017
This makes TEST-19-DELEGATE, which is currently failing, work.

Closes systemd#7425.
poettering pushed a commit that referenced this issue Nov 23, 2017
This makes TEST-19-DELEGATE, which is currently failing, work.

Closes #7425.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Programming errors, that need preferential fixing tests
Development

No branches or pull requests

2 participants