Skip to content

Commit 24ebf5e

Browse files
ci: execute test scripts via sh
Cabal 3.4 strips the execute permission from extra source files; see haskell/cabal#6666. This impacts our test scripts and causes CI to fail. Execute test scripts via sh(1) to avoid test failure due to no execute permission.
1 parent e86d93b commit 24ebf5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/allTests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fi
99
for TESTDIR in `find . -mindepth 1 -type d`; do
1010
echo "Running $TESTDIR"
1111
cd $TESTDIR
12-
TEST_RESULT=`./runTest.sh 2>&1`
12+
TEST_RESULT=`sh ./runTest.sh 2>&1`
1313
TEST_STATUS=$?
1414
if [ "$TEST_STATUS" -ne 0 ]; then
1515
echo "$TESTDIR failed; output:"

0 commit comments

Comments
 (0)