File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed
Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -95,18 +95,17 @@ unpacked_dep_head() {
9595
9696unpacked_dep_body () {
9797 mkdir -p some_repo pkg_A pkg_B
98+
9899 cd some_repo
99- xbps-create -A noarch -n A-1.0_1 -s " A pkg" ../pkg_A
100- atf_check_equal $? 0
101- xbps-create -A noarch -n B-1.0_1 -s " B pkg" -D " A>=0" ../pkg_B
102- atf_check_equal $? 0
103- xbps-rindex -d -a $PWD /* .xbps
104- atf_check_equal $? 0
100+ atf_check -o ignore -- xbps-create -A noarch -n A-1.0_1 -s " A pkg" ../pkg_A
101+ atf_check -o ignore -- xbps-create -A noarch -n B-1.0_1 -s " B pkg" -D " A>=0" ../pkg_B
102+ atf_check -o ignore -- xbps-rindex -a $PWD /* .xbps
105103 cd ..
106- xbps-install -r root -C empty.conf --repository=$PWD /some_repo -yU A
107- atf_check_equal $? 0
108- res=$( xbps-install -r root -C empty.conf --repository=$PWD /some_repo -un B | grep -Fv -e " A-1.0_1 configure" -e " B-1.0_1 install" )
109- atf_check_equal " $res " " "
104+
105+ atf_check -o ignore -- xbps-install -r root -C empty.conf --repository=$PWD /some_repo -yU A
106+ atf_check -o inline:" unpacked\n" -- xbps-query -r root -p state A
107+ atf_check -o match:" A-1.0_1 configure" -o match:" B-1.0_1 install" -- \
108+ xbps-install -r root -C empty.conf --repository=$PWD /some_repo -un B
110109}
111110
112111atf_test_case reinstall_unpacked_unpack_only
You can’t perform that action at this time.
0 commit comments