Showing the changes to scripts (1 of 3 files). Show all
Unified · Split
| @@ -30,6 +30,9 @@ scripts/test_mode.sh 8 -1 -1 · 29 unmodified lines | |||
| 30 | scripts/test_mode.sh 6 -2 -1 | 30 | scripts/test_mode.sh 6 -2 -1 |
| 31 | scripts/test_mode.sh 7 -2 -1 | 31 | scripts/test_mode.sh 7 -2 -1 |
| 32 | scripts/test_mode.sh 8 -2 -1 | 32 | scripts/test_mode.sh 8 -2 -1 |
| 33 | scripts/test_mode.sh 9 0 0 | ||
| 34 | scripts/test_mode.sh 10 0 0 | ||
| 35 | scripts/test_mode.sh 11 0 0 | ||
| 33 | set +e | 36 | set +e |
| 34 | [[ "$(./minimp3)" != "error: no file names given" ]] && echo fail && exit 1 || echo pass | 37 | [[ "$(./minimp3)" != "error: no file names given" ]] && echo fail && exit 1 || echo pass |
| 35 | [[ "$(./minimp3 do_not_exist)" != "error: read function failed, code=-3" ]] && echo fail && exit 1 || echo pass | 38 | [[ "$(./minimp3 do_not_exist)" != "error: read function failed, code=-3" ]] && echo fail && exit 1 || echo pass |