diff --git a/beaker-tests/Sanity/copr-cli-basic-operations/files/pkg-with-excludearch.spec b/beaker-tests/Sanity/copr-cli-basic-operations/files/pkg-with-excludearch.spec new file mode 100644 index 000000000..67f43645d --- /dev/null +++ b/beaker-tests/Sanity/copr-cli-basic-operations/files/pkg-with-excludearch.spec @@ -0,0 +1,21 @@ +Name: pkg-with-macros +Version: 1.0 +Release: 1%{?dist} +Summary: Testing spec file +License: GPLv2 +URL: https://github.com/fedora-copr/copr +ExcludeArch: aarch64 %{power64} s390x + + +%description +Test spec file with macros + +%files + +%build + +%check + +%changelog +* Thu May 12 2022 Jakub Kadlcik - 1.0-1 +- Initial version diff --git a/beaker-tests/Sanity/copr-cli-basic-operations/runtest-exclusivearch.sh b/beaker-tests/Sanity/copr-cli-basic-operations/runtest-exclusivearch.sh index 808d0de82..a7a319273 100755 --- a/beaker-tests/Sanity/copr-cli-basic-operations/runtest-exclusivearch.sh +++ b/beaker-tests/Sanity/copr-cli-basic-operations/runtest-exclusivearch.sh @@ -52,7 +52,7 @@ rlJournalStart # Test ExcludeArch rlRun "copr-cli create ${NAME_PREFIX}ExcludeArch $chroots" - rlRun "copr-cli build-distgit ${NAME_PREFIX}ExcludeArch --name python-giacpy" + rlRun "copr-cli build ${NAME_PREFIX}ExcludeArch files/pkg-with-excludearch.spec " rlRun "copr monitor ${NAME_PREFIX}ExcludeArch > $OUTPUT" rlAssertEquals "Skipped chroots" `cat $OUTPUT |grep "skipped" |wc -l` 3 rlAssertEquals "Succeeded chroots" `cat $OUTPUT |grep "succeeded" |wc -l` 1