diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-01-12 21:19:59 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-01-12 21:19:59 +0100 |
| commit | e6d4c35a80b2aed4a0b60ba9d32599545e0a36fd (patch) | |
| tree | 4094e0894ae18a2bd64396aa4ac7883e50100965 /sam/test.sh | |
| parent | 72e2b4619ce5a7419de63efed1017b265ca9b7ce (diff) | |
| download | vis-e6d4c35a80b2aed4a0b60ba9d32599545e0a36fd.tar.gz vis-e6d4c35a80b2aed4a0b60ba9d32599545e0a36fd.tar.xz | |
test/sam: adapt tests to new grouping semantics
Diffstat (limited to 'sam/test.sh')
| -rwxr-xr-x | sam/test.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sam/test.sh b/sam/test.sh index 0cbce36..a6d5b4e 100755 --- a/sam/test.sh +++ b/sam/test.sh @@ -32,7 +32,6 @@ TESTS_OK=0 for t in $TESTS; do IN="$t.in" - CMD="$(cat $t.cmd)" SAM_OUT="$t.sam.out" SAM_ERR="$t.sam.err" VIS_OUT="$t.vis.out" @@ -43,10 +42,8 @@ for t in $TESTS; do { echo ',{' - echo k - echo '}' - echo 0k cat "$t.cmd" + echo '}' echo , } | $SAM -d "$IN" > "$SAM_OUT" 2>/dev/null @@ -71,7 +68,7 @@ for t in $TESTS; do TESTS_RUN=$((TESTS_RUN+1)) - $VIS "+,{ $NL $CMD $NL wq! $VIS_OUT $NL }" "$IN" 2>/dev/null + $VIS "$IN" </dev/null 2>/dev/null printf "Running test %s with vis ... " "$t" if [ $? -ne 0 -o ! -e "$VIS_OUT" ]; then |
