summaryrefslogtreecommitdiff
path: root/test/fix-standard-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/fix-standard-tests.sh')
-rwxr-xr-xtest/fix-standard-tests.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/fix-standard-tests.sh b/test/fix-standard-tests.sh
new file mode 100755
index 00000000..80e6dae1
--- /dev/null
+++ b/test/fix-standard-tests.sh
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+### this script is a lame hack used in the Makefile because
+### I couldn't figure out how to escape @EXPANDED_LOCALSTATEDIR@ etc.
+### inside the Makefile
+
+perl -pi -e "s%\@EXPANDED_LOCALSTATEDIR\@%/var%g" data/valid-config-files/system.conf
+perl -pi -e "s%\@DBUS_SYSTEM_SOCKET\@%run/dbus/system_bus_socket%g" data/valid-config-files/system.conf