From 44a30e582c81948fdee2b62ce49eb962fdd49f71 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Sun, 27 Sep 2026 19:17:02 +0200 Subject: [PATCH] Move relibc-tests sources to /usr/share --- config/auto-test.toml | 2 +- recipes/tests/relibc-tests-bins/recipe.toml | 8 ++++---- recipes/tests/relibc-tests/recipe.toml | 6 ++---- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/config/auto-test.toml b/config/auto-test.toml index 71c822ec4..7350c4786 100644 --- a/config/auto-test.toml +++ b/config/auto-test.toml @@ -26,7 +26,7 @@ data = """ export RUST_BACKTRACE=full export HOME=/home/root acid-runner -bash /root/relibc-tests/run.sh +bash /usr/share/relibc-tests/run.sh os-test-runner shutdown """ diff --git a/recipes/tests/relibc-tests-bins/recipe.toml b/recipes/tests/relibc-tests-bins/recipe.toml index fd9938c5e..16831465b 100644 --- a/recipes/tests/relibc-tests-bins/recipe.toml +++ b/recipes/tests/relibc-tests-bins/recipe.toml @@ -6,10 +6,10 @@ template = "custom" script = """ rsync -av --delete "${COOKBOOK_SOURCE}/" ./ -make install-tests DESTDIR="${COOKBOOK_STAGE}/home/user" NATIVE_LIBC=1 IS_REDOX=1 +make install-tests DESTDIR="${COOKBOOK_STAGE}/usr/share" NATIVE_LIBC=1 IS_REDOX=1 if [ -n "$TESTBIN" ]; then -"${COOKBOOK_REDOXER}" write-exec sh -c "cd /home/user/relibc-tests; make run-once TESTBIN=bins_dynamic/$TESTBIN" +"${COOKBOOK_REDOXER}" write-exec sh -c "cd /usr/share/relibc-tests; make run-once TESTBIN=bins_dynamic/$TESTBIN" fi # Create runner script @@ -17,8 +17,8 @@ mkdir -p "${COOKBOOK_STAGE}/usr/bin" cat > "${COOKBOOK_STAGE}/usr/bin/relibc-tests-runner" <