From 60e9bbac3d3ef003f531051ca5818b94f0812354 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 13 Sep 2014 12:11:24 +0200 Subject: [PATCH] tests/libxbps/replace: check that pkgs were configured too. These two tests currently fail. --- tests/xbps/libxbps/shell/replace_test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/xbps/libxbps/shell/replace_test.sh b/tests/xbps/libxbps/shell/replace_test.sh index 6e36897f..e8947ba3 100644 --- a/tests/xbps/libxbps/shell/replace_test.sh +++ b/tests/xbps/libxbps/shell/replace_test.sh @@ -34,6 +34,7 @@ replace_dups_body() { atf_check_equal $? 0 result=$(xbps-query -C empty.conf -r root -l|wc -l) atf_check_equal $result 1 + atf_check_equal $(xbps-query -C empty.conf -r root -p state B) installed } atf_test_case self_replace @@ -64,6 +65,7 @@ self_replace_body() { out=$(xbps-query -C empty.conf -r root -l|awk '{print $2}') exp="A-1.0_1" atf_check_equal $out $exp + atf_check_equal $(xbps-query -C empty.conf -r root -p state A) installed } atf_init_test_cases() {