mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 09:53:08 +02:00
Unittest - Document the magic line in wrapper.sh
This commit is contained in:
parent
77ec56dcd0
commit
049ed04471
1 changed files with 2 additions and 0 deletions
|
@ -8,7 +8,9 @@ OUT="${ORIGINALHOOK}.log.out"
|
|||
# Let it know that we were executed
|
||||
echo "% Called at $(date +%s%N)" >> ${IN}
|
||||
|
||||
# Log what arrives via stdin to ${IN} and what comes via stdout to ${OUT}
|
||||
$ORIGINALHOOK < <(tee -a ${IN}) > >(tee -a ${OUT})
|
||||
# More on the < <() syntax at: http://tldp.org/LDP/abs/html/process-sub.html
|
||||
|
||||
EXITCODE=$?
|
||||
echo "! Exit code: ${EXITCODE}" >> ${OUT}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue