1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/community/entr/fix-git-invocation.patch
Sören Tempel fd9ddff07f community/entr: upgrade to 5.3
The C unit test suite (which has been previously invoked via
`make test`) was removed and replaced by the regression tests
(previously `make regress`). These didn't pass on the builders
before due to lack of a TTY and several bashisms in the test script.
To fix that, run the tests in script(1) and execute the test script
with /bin/bash instead of /bin/sh.
2023-01-21 11:04:01 +00:00

15 lines
600 B
Diff

Without a Git configuration git(1) exits with a non-zero exit code
which, in turn, causes a failure of the entr test suite.
diff -upr entr-5.3.orig/system_test.sh entr-5.3/system_test.sh
--- entr-5.3.orig/system_test.sh 2023-01-21 10:50:35.430697263 +0100
+++ entr-5.3/system_test.sh 2023-01-21 10:51:10.478073569 +0100
@@ -250,6 +250,8 @@ try "exec single utility when an entire
cp /usr/include/*.h $tmp/
cd $tmp
git init -q
+ git config user.email "you@example.com"
+ git config user.name "Your Name"
git add *.h
git commit -m "initial checkin" -q
for f in `ls *.h | head`; do