Permalink
Browse files

Fix unit test script from gobbling up errors

  • Loading branch information...
1 parent b107657 commit cadde662886a67fdcf08669a63a2bf4902b51cbb @laverdet committed Jan 5, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 test.sh
View
3 test.sh
@@ -1,9 +1,8 @@
#!/bin/bash
-set -e
for ii in `ls test`
do echo -n $ii': '
OUTPUT=$(NODE_PATH=`pwd` node test/$ii 2>&1)
- echo $OUTPUT
+ echo "$OUTPUT"
if [[ "$OUTPUT" != "pass" ]]; then
exit 1
fi

0 comments on commit cadde66

Please sign in to comment.