From ff963ea6ba8e99693e0a763165f3cc15274d5ed1 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 3 Jan 2020 18:00:03 +0100 Subject: [PATCH] test: use symlinks for Makefiles for some reason the newer tests used file copyies instead of symlinks. let's fix that. --- test/TEST-40-EXEC-COMMAND-EX/Makefile | 10 +--------- test/TEST-41-ONESHOT-RESTART/Makefile | 10 +--------- test/TEST-42-EXECSTOPPOST/Makefile | 10 +--------- test/TEST-43-PRIVATEUSER-UNPRIV/Makefile | 10 +--------- 4 files changed, 4 insertions(+), 36 deletions(-) mode change 100644 => 120000 test/TEST-40-EXEC-COMMAND-EX/Makefile mode change 100644 => 120000 test/TEST-41-ONESHOT-RESTART/Makefile mode change 100644 => 120000 test/TEST-42-EXECSTOPPOST/Makefile mode change 100644 => 120000 test/TEST-43-PRIVATEUSER-UNPRIV/Makefile diff --git a/test/TEST-40-EXEC-COMMAND-EX/Makefile b/test/TEST-40-EXEC-COMMAND-EX/Makefile deleted file mode 100644 index 45e9bfc67cd..00000000000 --- a/test/TEST-40-EXEC-COMMAND-EX/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -BUILD_DIR=$(shell ../../tools/find-build-dir.sh) - -all setup run: - @basedir=../.. TEST_BASE_DIR=../ BUILD_DIR=$(BUILD_DIR) ./test.sh --$@ - -clean clean-again: - @basedir=../.. TEST_BASE_DIR=../ BUILD_DIR=$(BUILD_DIR) ./test.sh --clean - -.PHONY: all setup run clean clean-again diff --git a/test/TEST-40-EXEC-COMMAND-EX/Makefile b/test/TEST-40-EXEC-COMMAND-EX/Makefile new file mode 120000 index 00000000000..e9f93b1104c --- /dev/null +++ b/test/TEST-40-EXEC-COMMAND-EX/Makefile @@ -0,0 +1 @@ +../TEST-01-BASIC/Makefile \ No newline at end of file diff --git a/test/TEST-41-ONESHOT-RESTART/Makefile b/test/TEST-41-ONESHOT-RESTART/Makefile deleted file mode 100644 index 45e9bfc67cd..00000000000 --- a/test/TEST-41-ONESHOT-RESTART/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -BUILD_DIR=$(shell ../../tools/find-build-dir.sh) - -all setup run: - @basedir=../.. TEST_BASE_DIR=../ BUILD_DIR=$(BUILD_DIR) ./test.sh --$@ - -clean clean-again: - @basedir=../.. TEST_BASE_DIR=../ BUILD_DIR=$(BUILD_DIR) ./test.sh --clean - -.PHONY: all setup run clean clean-again diff --git a/test/TEST-41-ONESHOT-RESTART/Makefile b/test/TEST-41-ONESHOT-RESTART/Makefile new file mode 120000 index 00000000000..e9f93b1104c --- /dev/null +++ b/test/TEST-41-ONESHOT-RESTART/Makefile @@ -0,0 +1 @@ +../TEST-01-BASIC/Makefile \ No newline at end of file diff --git a/test/TEST-42-EXECSTOPPOST/Makefile b/test/TEST-42-EXECSTOPPOST/Makefile deleted file mode 100644 index 45e9bfc67cd..00000000000 --- a/test/TEST-42-EXECSTOPPOST/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -BUILD_DIR=$(shell ../../tools/find-build-dir.sh) - -all setup run: - @basedir=../.. TEST_BASE_DIR=../ BUILD_DIR=$(BUILD_DIR) ./test.sh --$@ - -clean clean-again: - @basedir=../.. TEST_BASE_DIR=../ BUILD_DIR=$(BUILD_DIR) ./test.sh --clean - -.PHONY: all setup run clean clean-again diff --git a/test/TEST-42-EXECSTOPPOST/Makefile b/test/TEST-42-EXECSTOPPOST/Makefile new file mode 120000 index 00000000000..e9f93b1104c --- /dev/null +++ b/test/TEST-42-EXECSTOPPOST/Makefile @@ -0,0 +1 @@ +../TEST-01-BASIC/Makefile \ No newline at end of file diff --git a/test/TEST-43-PRIVATEUSER-UNPRIV/Makefile b/test/TEST-43-PRIVATEUSER-UNPRIV/Makefile deleted file mode 100644 index 45e9bfc67cd..00000000000 --- a/test/TEST-43-PRIVATEUSER-UNPRIV/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -BUILD_DIR=$(shell ../../tools/find-build-dir.sh) - -all setup run: - @basedir=../.. TEST_BASE_DIR=../ BUILD_DIR=$(BUILD_DIR) ./test.sh --$@ - -clean clean-again: - @basedir=../.. TEST_BASE_DIR=../ BUILD_DIR=$(BUILD_DIR) ./test.sh --clean - -.PHONY: all setup run clean clean-again diff --git a/test/TEST-43-PRIVATEUSER-UNPRIV/Makefile b/test/TEST-43-PRIVATEUSER-UNPRIV/Makefile new file mode 120000 index 00000000000..e9f93b1104c --- /dev/null +++ b/test/TEST-43-PRIVATEUSER-UNPRIV/Makefile @@ -0,0 +1 @@ +../TEST-01-BASIC/Makefile \ No newline at end of file -- 2.47.3