aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2022-02-06 13:28:37 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-02-08 22:10:13 +0100
commitdc4d76b8e0e6c59566c10bfd27c82df81c167cf3 (patch)
treebabad2e65cf2e0bfe4766aa58cc7c457ef34e757 /tests
parentb09086c6727f4e8fe1467910e43b58b5ac335d00 (diff)
downloadlibayatana-appindicator-dc4d76b8e0e6c59566c10bfd27c82df81c167cf3.tar.gz
libayatana-appindicator-dc4d76b8e0e6c59566c10bfd27c82df81c167cf3.tar.bz2
libayatana-appindicator-dc4d76b8e0e6c59566c10bfd27c82df81c167cf3.zip
Use /bin/sh for running tests
The tests run fine with busybox ash as /bin/sh and do not require bash.
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index bf1afb5..3ee3650 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -94,7 +94,7 @@ add_custom_command(
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
VERBATIM
COMMAND
- echo "#!/bin/bash" > "${CMAKE_CURRENT_BINARY_DIR}/test-libappindicator-fallback"
+ echo "#!/bin/sh" > "${CMAKE_CURRENT_BINARY_DIR}/test-libappindicator-fallback"
COMMAND
echo "export DISPLAY=" >> "${CMAKE_CURRENT_BINARY_DIR}/test-libappindicator-fallback"
COMMAND
@@ -116,7 +116,7 @@ add_custom_command(
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
VERBATIM
COMMAND
- echo "#!/bin/bash" > "${CMAKE_CURRENT_BINARY_DIR}/test-libappindicator-dbus"
+ echo "#!/bin/sh" > "${CMAKE_CURRENT_BINARY_DIR}/test-libappindicator-dbus"
COMMAND
echo "export DISPLAY=" >> "${CMAKE_CURRENT_BINARY_DIR}/test-libappindicator-dbus"
COMMAND
@@ -138,7 +138,7 @@ add_custom_command(
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
VERBATIM
COMMAND
- echo "#!/bin/bash" > "${CMAKE_CURRENT_BINARY_DIR}/test-libappindicator-status"
+ echo "#!/bin/sh" > "${CMAKE_CURRENT_BINARY_DIR}/test-libappindicator-status"
COMMAND
echo "export DISPLAY=" >> "${CMAKE_CURRENT_BINARY_DIR}/test-libappindicator-status"
COMMAND
@@ -174,7 +174,7 @@ add_custom_command(
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
VERBATIM
COMMAND
- echo "#!/bin/bash" > "${CMAKE_CURRENT_BINARY_DIR}/libappindicator-tests"
+ echo "#!/bin/sh" > "${CMAKE_CURRENT_BINARY_DIR}/libappindicator-tests"
COMMAND
echo "export DISPLAY=" >> "${CMAKE_CURRENT_BINARY_DIR}/libappindicator-tests"
COMMAND