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