summaryrefslogtreecommitdiff
path: root/abduco/fix-tests.patch
diff options
context:
space:
mode:
authorJohn Vogel <jvogel4@stny.rr.com>2024-07-07 11:18:35 -0400
committerJohn Vogel <jvogel4@stny.rr.com>2024-07-07 11:18:35 -0400
commitbeba5e93542ee8660e3a4318ce64bc74c68753dc (patch)
tree40c5a6d6650865a5b91528c2571d80f4e600e116 /abduco/fix-tests.patch
parentc0e361fff0700afaf0702a32489e90b33f3118de (diff)
downloadforked-aports-beba5e93542ee8660e3a4318ce64bc74c68753dc.tar.gz
local/abduco: fork of community/abduco
Diffstat (limited to 'abduco/fix-tests.patch')
-rw-r--r--abduco/fix-tests.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/abduco/fix-tests.patch b/abduco/fix-tests.patch
new file mode 100644
index 0000000..746e438
--- /dev/null
+++ b/abduco/fix-tests.patch
@@ -0,0 +1,15 @@
+Without this change pgrep seems to return the PID of the abduco process
+spawned in the previous line because it may not be removed yet. Removing
+the pgrep invocation is not the best solution but good enough for now.
+
+diff -upr abduco-0.6.orig/testsuite.sh abduco-0.6/testsuite.sh
+--- abduco-0.6.orig/testsuite.sh 2019-02-14 11:33:19.521290879 +0100
++++ abduco-0.6/testsuite.sh 2019-02-14 11:33:29.361298623 +0100
+@@ -55,7 +55,6 @@ expected_abduco_detached_output() {
+
+ check_environment() {
+ [ "`$ABDUCO | wc -l`" -gt 1 ] && echo Abduco session exists && exit 1;
+- pgrep abduco && echo Abduco process exists && exit 1;
+ return 0;
+ }
+