diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-05-15 14:38:12 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-05-15 14:38:12 (EDT) |
commit | ee52bc612897dad0243e5a26e18fa18e97091024 (patch) | |
tree | 35f16992ea750044a84de2d0d4a3ec850c10c6f0 /tests/ob_arch_is_concerned.rc | |
parent | 34c2432859bbc108193e86e8caacc995488e04ed (diff) |
tests/ob_arch_is_concerned.sh: New test.
The last test case is currently expected to fail:
FAIL: tests/ob_arch_is_concerned.sh
False positive:
Host architecture: "all"
Package architectures: "!amd64-linux-glibc"
(There are also some errors about _ob_local.)
Diffstat (limited to 'tests/ob_arch_is_concerned.rc')
-rw-r--r-- | tests/ob_arch_is_concerned.rc | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/tests/ob_arch_is_concerned.rc b/tests/ob_arch_is_concerned.rc new file mode 100644 index 0000000..76db80e --- /dev/null +++ b/tests/ob_arch_is_concerned.rc @@ -0,0 +1,67 @@ +# Architecture: all + +host_arch='amd64-linux-glibc' +arches='all' +result='false' +testcase + +host_arch='i686-linux-glibc' +arches='all' +result='false' +testcase + +host_arch='all' +arches='all' +result='true' +testcase + +# Architecture: any + +host_arch='amd64-linux-glibc' +arches='any' +result='true' +testcase + +host_arch='i686-linux-glibc' +arches='any' +result='true' +testcase + +host_arch='all' +arches='any' +result='false' +testcase + +# Architecture: amd64-linux-glibc + +host_arch='amd64-linux-glibc' +arches='amd64-linux-glibc' +result='true' +testcase + +host_arch='i686-linux-glibc' +arches='amd64-linux-glibc' +result='false' +testcase + +host_arch='all' +arches='amd64-linux-glibc' +result='false' +testcase + +# Architecture: !amd64-linux-glibc + +host_arch='amd64-linux-glibc' +arches='!amd64-linux-glibc' +result='false' +testcase + +host_arch='i686-linux-glibc' +arches='!amd64-linux-glibc' +result='true' +testcase + +host_arch='all' +arches='!amd64-linux-glibc' +result='false' +testcase |