Unittest - Hook testing, fixed a few mistakes
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
|
||||
SELF=$(basename $0)
|
||||
ORIGINALHOOK="$(dirname $0)/original_${SELF}"
|
||||
IN="${NEWFILE}.log.in"
|
||||
OUT="${NEWFILE}.log.out"
|
||||
IN="${ORIGINALHOOK}.log.in"
|
||||
OUT="${ORIGINALHOOK}.log.out"
|
||||
|
||||
# Let it know that we were executed
|
||||
echo "% Called at $(date +%s%N)" >> ${OUT}
|
||||
echo "% Called at $(date +%s%N)" >> ${IN}
|
||||
|
||||
$ORIGINALHOOK < <(tee -a ${IN}) > >(tee -a ${OUT})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user