tests: xbps-query --list-repo test case with unsynced remote repos

This commit is contained in:
Duncan Overbruck 2022-01-25 15:38:49 +01:00
parent a9f314dc82
commit 14c762afeb
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35

View File

@ -21,6 +21,9 @@ list_repos_body() {
cd ..
output="$(xbps-query -C empty.conf -i --repository=some_repo --repository=vanished_repo -L | tr -d '\n')"
atf_check_equal "$output" " 2 ${PWD}/some_repo (RSA unsigned) -1 vanished_repo (RSA maybe-signed)"
output="$(xbps-query -C empty.conf -i --repository=https://localhost/wtf -L | tr -d '\n')"
atf_check_equal "$output" " -1 https://localhost/wtf (RSA maybe-signed)"
}
atf_init_test_cases() {