X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/ebcf9b833bc750ce81951a3278065bbb86ecbdce..db03b6ae47317f74767e4850da14a02afaa90d6b:/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