mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Tests: Adjust wrapper to make hook env test work
This commit is contained in:
parent
e9b54ea74f
commit
8d5a77f490
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ OUT="${ORIGINALHOOK}.log.out"
|
||||||
echo "% Called at $(python -c 'import time; print(time.time())')" >> ${IN}
|
echo "% Called at $(python -c 'import time; print(time.time())')" >> ${IN}
|
||||||
|
|
||||||
# Log what arrives via stdin to ${IN} and what comes via stdout to ${OUT}
|
# Log what arrives via stdin to ${IN} and what comes via stdout to ${OUT}
|
||||||
$ORIGINALHOOK < <(tee -a ${IN}) > >(tee -a ${OUT})
|
$ORIGINALHOOK "$@" < <(tee -a ${IN}) > >(tee -a ${OUT})
|
||||||
# More on the < <() syntax at: http://tldp.org/LDP/abs/html/process-sub.html
|
# More on the < <() syntax at: http://tldp.org/LDP/abs/html/process-sub.html
|
||||||
|
|
||||||
EXITCODE=$?
|
EXITCODE=$?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue