Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Add a more complete output to query test as it may serve in the futur
Baptiste Daroussin committed 6 years ago
commit fa73e9e1833e6d9763b7e21ed95d34577fab6232
parent 4df1de6
1 file changed +4 -4
modified tests/frontend/query.sh
@@ -55,16 +55,16 @@ EOF
		pkg query -e "%#O > 0" "%n"

	atf_check \
-
		-o inline:"test\n" \
+
		-o inline:"test: plop 1 plop\n" \
		-e empty \
		-s exit:0 \
-
		pkg query -e "%#r>0" "%n"
+
		pkg query -e "%#r>0" "%n: %rn %rv %ro"

	atf_check \
-
		-o inline:"plop\n" \
+
		-o inline:"plop: test 1 test\n" \
		-e empty \
		-s exit:0 \
-
		pkg query -e "%#d>0" "%n"
+
		pkg query -e "%#d>0" "%n: %dn %dv %do"

	atf_check \
		-o empty \