Skip to content

Commit

Permalink
Basic scream test for foreach
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Murphy-Skvorzov committed Dec 5, 2014
1 parent be76a68 commit 3195072
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/foreach.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash

cd "$(dirname "$0")/.."

set -eux

./bin/foreach.js --help || (($? == 2))
./bin/foreach.js "if(record.gump){emit(record);}" <test/data.jsonl || (($? == 0))

echo OK

0 comments on commit 3195072

Please sign in to comment.