tests/xbps-create: fix the rejectfifo test.

It was using -a (alternatives) rather than -A (architecture)
so the test wasn't checking the exact error branch.
This commit is contained in:
Juan RP 2019-12-29 16:24:33 +01:00
parent b05f4b4db5
commit 2c7c4e1bf0
No known key found for this signature in database
GPG Key ID: AF19F6CB482F9368

View File

@ -175,7 +175,7 @@ reject_fifo_file_head() {
reject_fifo_file_body() { reject_fifo_file_body() {
mkdir -p repo pkg_a mkdir -p repo pkg_a
mkfifo pkg_a/fifo mkfifo pkg_a/fifo
xbps-create -a noarch -n foo-1.0_1 -s "foo pkg" pkg_a xbps-create -A noarch -n foo-1.0_1 -s "foo pkg" pkg_a
atf_check_equal $? 1 atf_check_equal $? 1
} }