X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/ebcf9b833bc750ce81951a3278065bbb86ecbdce..e6d2653b6a2612ea2cee768d4dadcc3fb9315d00:/tests/libupkg-index-decode.sh diff --git a/tests/libupkg-index-decode.sh b/tests/libupkg-index-decode.sh index b82bbc9..f5c913d 100644 --- a/tests/libupkg-index-decode.sh +++ b/tests/libupkg-index-decode.sh @@ -38,17 +38,17 @@ test_index() { esac } -test_index 00 0 -test_index 4000 0 -test_index 408000 0 -test_index 40808000 0 -test_index 4080808000 0 +test_index 00 0 || exit 1 +test_index 4000 0 || exit 1 +test_index 408000 0 || exit 1 +test_index 40808000 0 || exit 1 +test_index 4080808000 0 || exit 1 # False positives -test_index '' -test_index 40 -test_index 4080 -test_index 408080 -test_index 40808080 -test_index 4080808080 -test_index 408080808000 +test_index '' || exit 1 +test_index 40 || exit 1 +test_index 4080 || exit 1 +test_index 408080 || exit 1 +test_index 40808080 || exit 1 +test_index 4080808080 || exit 1 +test_index 408080808000 || exit 1