summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/arch_is_concerned.sh30
1 files changed, 15 insertions, 15 deletions
diff --git a/tests/arch_is_concerned.sh b/tests/arch_is_concerned.sh
index c727eec..0bea0fd 100755
--- a/tests/arch_is_concerned.sh
+++ b/tests/arch_is_concerned.sh
@@ -44,17 +44,17 @@ main()
# Architecture: any
command_ok_ \
'HOST "amd64-linux-glibc" DOES MATCH ARCH "any"' -- \
- ob_arch_is_concerned \
+ arch_is_concerned \
'amd64-linux-glibc' \
'any'
command_ok_ \
'HOST "i686-linux-glibc" DOES MATCH ARCH "any"' -- \
- ob_arch_is_concerned \
+ arch_is_concerned \
'i686-linux-glibc' \
'any'
command_ok_ \
'HOST "all" DOES NOT MATCH ARCH "any"' -- \
- not ob_arch_is_concerned \
+ not arch_is_concerned \
'all' \
'any'
@@ -62,18 +62,18 @@ main()
command_ok_ \
'HOST "amd64-linux-glibc" DOES MATCH ARCH '$(: \
)'"amd64-linux-glibc"' -- \
- ob_arch_is_concerned \
+ arch_is_concerned \
'amd64-linux-glibc' \
'amd64-linux-glibc'
command_ok_ \
'HOST "i686-linux-glibc" DOES NOT MATCH ARCH '$(: \
)'"amd64-linux-glibc"' -- \
- not ob_arch_is_concerned \
+ not arch_is_concerned \
'i686-linux-glibc' \
'amd64-linux-glibc'
command_ok_ \
'HOST "all" DOES NOT MATCH ARCH "amd64-linux-glibc"' -- \
- not ob_arch_is_concerned \
+ not arch_is_concerned \
'all' \
'amd64-linux-glibc'
@@ -81,18 +81,18 @@ main()
command_ok_ \
'HOST "amd64-linux-glibc" DOES NOT MATCH ARCH '$(: \
)'"!amd64-linux-glibc"' -- \
- not ob_arch_is_concerned \
+ not arch_is_concerned \
'amd64-linux-glibc' \
'!amd64-linux-glibc'
command_ok_ \
'HOST "i686-linux-glibc" DOES MATCH ARCH '$(: \
)'"!amd64-linux-glibc"' -- \
- ob_arch_is_concerned \
+ arch_is_concerned \
'i686-linux-glibc' \
'!amd64-linux-glibc'
command_ok_ \
'HOST "all" DOES NOT MATCH ARCH "!amd64-linux-glibc"' -- \
- not ob_arch_is_concerned \
+ not arch_is_concerned \
'all' \
'!amd64-linux-glibc'
@@ -100,19 +100,19 @@ main()
command_ok_ \
'HOST "amd64-linux-glibc" DOES MATCH ARCH '$(: \
)'"amd64-linux-glibc cortexa8-linux-glibc"' -- \
- ob_arch_is_concerned \
+ arch_is_concerned \
'amd64-linux-glibc' \
'amd64-linux-glibc cortexa8-linux-glibc'
command_ok_ \
'HOST "i686-linux-glibc" DOES MATCH ARCH '$(: \
)'"amd64-linux-glibc cortexa8-linux-glibc"' -- \
- not ob_arch_is_concerned \
+ not arch_is_concerned \
'i686-linux-glibc' \
'amd64-linux-glibc cortexa8-linux-glibc'
command_ok_ \
'HOST "all" DOES MATCH ARCH '$(: \
)'"amd64-linux-glibc cortexa8-linux-glibc"' -- \
- not ob_arch_is_concerned \
+ not arch_is_concerned \
'all' \
'amd64-linux-glibc cortexa8-linux-glibc'
@@ -120,18 +120,18 @@ main()
command_ok_ \
'HOST "amd64-linux-glibc" DOES MATCH ARCH '$(: \
)'"amd64-linux-glibc all"' -- \
- ob_arch_is_concerned \
+ arch_is_concerned \
'amd64-linux-glibc' \
'amd64-linux-glibc all'
command_ok_ \
'HOST "i686-linux-glibc" DOES NOT MATCH ARCH '$(: \
)'"amd64-linux-glibc all"' --\
- not ob_arch_is_concerned \
+ not arch_is_concerned \
'i686-linux-glibc' \
'amd64-linux-glibc all'
command_ok_ \
'HOST "all" DOES MATCH ARCH "amd64-linux-glibc all"' -- \
- ob_arch_is_concerned \
+ arch_is_concerned \
'all' \
'amd64-linux-glibc all'