From 8d5a77f4906418f49f797ea364fc71d4a20250ee Mon Sep 17 00:00:00 2001 From: Wilhelm Schuermann Date: Mon, 6 Apr 2015 10:01:09 +0200 Subject: [PATCH] Tests: Adjust wrapper to make hook env test work --- test/test_hooks/wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_hooks/wrapper.sh b/test/test_hooks/wrapper.sh index 11c11e7e9..21b891d9d 100644 --- a/test/test_hooks/wrapper.sh +++ b/test/test_hooks/wrapper.sh @@ -9,7 +9,7 @@ OUT="${ORIGINALHOOK}.log.out" 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} -$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 EXITCODE=$?