From 14c762afeb45bd585bc53980b0c11320b7cdf3a6 Mon Sep 17 00:00:00 2001 From: Duncan Overbruck Date: Tue, 25 Jan 2022 15:38:49 +0100 Subject: [PATCH] tests: xbps-query --list-repo test case with unsynced remote repos --- tests/xbps/xbps-query/list_test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/xbps/xbps-query/list_test.sh b/tests/xbps/xbps-query/list_test.sh index 528574ae..fd11ff13 100644 --- a/tests/xbps/xbps-query/list_test.sh +++ b/tests/xbps/xbps-query/list_test.sh @@ -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() {