History

test: improve coverage

lieff committed 6 years ago

Commit 1518f291 parent 4ba08c02 files · +6 −1Browse files

Showing the changes to scripts (1 of 2 files). Show all

Unified · Split

scripts/build.sh+3−0
@@ -27,6 +27,9 @@ scripts/test_mode.sh 5 0 0 · 26 unmodified lines
27scripts/test_mode.sh 6 -1 -127scripts/test_mode.sh 6 -1 -1
28scripts/test_mode.sh 7 -1 -128scripts/test_mode.sh 7 -1 -1
29scripts/test_mode.sh 8 -1 -129scripts/test_mode.sh 8 -1 -1
30scripts/test_mode.sh 6 -2 -1
31scripts/test_mode.sh 7 -2 -1
32scripts/test_mode.sh 8 -2 -1
30set +e33set +e
31[[ "$(./minimp3)" != "error: no file names given" ]] && echo fail && exit 1 || echo pass34[[ "$(./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 pass35[[ "$(./minimp3 do_not_exist)" != "error: read function failed, code=-3" ]] && echo fail && exit 1 || echo pass

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t