summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2018-12-24 21:28:36 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2018-12-24 21:28:36 (EST)
commitdd4697a7e35e846ab7c7c2c286b93b32b2be856d (patch)
treebde59cb90e0db5835b72d244ef2252c31c0e13ee
parent7433c95471a427f679ebf38e91c24357fa8e2b51 (diff)
tests/ob_parse_dep.sh, tests/ob_reduce_deps.sh: s/core-linux-eglibc/amd64-linux-glibc/g
-rwxr-xr-xtests/ob_parse_dep.sh34
-rwxr-xr-xtests/ob_reduce_deps.sh30
2 files changed, 32 insertions, 32 deletions
diff --git a/tests/ob_parse_dep.sh b/tests/ob_parse_dep.sh
index 1278533..6150004 100755
--- a/tests/ob_parse_dep.sh
+++ b/tests/ob_parse_dep.sh
@@ -64,9 +64,9 @@ testcase \
''
testcase \
- 'foo:core-linux-eglibc' \
+ 'foo:amd64-linux-glibc' \
'foo' \
- 'core-linux-eglibc' \
+ 'amd64-linux-glibc' \
'' \
'' \
''
@@ -96,52 +96,52 @@ testcase \
''
testcase \
- 'foo [core-linux-eglibc]' \
+ 'foo [amd64-linux-glibc]' \
'foo' \
'' \
'' \
'' \
- 'core-linux-eglibc'
+ 'amd64-linux-glibc'
testcase \
- 'foo[core-linux-eglibc]' \
+ 'foo[amd64-linux-glibc]' \
'foo' \
'' \
'' \
'' \
- 'core-linux-eglibc'
+ 'amd64-linux-glibc'
testcase \
- 'foo [core-linux-eglibc]' \
+ 'foo [amd64-linux-glibc]' \
'foo' \
'' \
'' \
'' \
- 'core-linux-eglibc'
+ 'amd64-linux-glibc'
testcase \
- 'foo:core-linux-eglibc (>= 1.0) [core-linux-eglibc]' \
+ 'foo:amd64-linux-glibc (>= 1.0) [amd64-linux-glibc]' \
'foo' \
- 'core-linux-eglibc' \
+ 'amd64-linux-glibc' \
'>=' \
'1.0' \
- 'core-linux-eglibc'
+ 'amd64-linux-glibc'
testcase \
- 'foo:core-linux-eglibc(>=1.0)[core-linux-eglibc]' \
+ 'foo:amd64-linux-glibc(>=1.0)[amd64-linux-glibc]' \
'foo' \
- 'core-linux-eglibc' \
+ 'amd64-linux-glibc' \
'>=' \
'1.0' \
- 'core-linux-eglibc'
+ 'amd64-linux-glibc'
testcase \
- 'foo:core-linux-eglibc (>= 1.0) [core-linux-eglibc]' \
+ 'foo:amd64-linux-glibc (>= 1.0) [amd64-linux-glibc]' \
'foo' \
- 'core-linux-eglibc' \
+ 'amd64-linux-glibc' \
'>=' \
'1.0' \
- 'core-linux-eglibc'
+ 'amd64-linux-glibc'
testcase \
'busybox (<< 1.21.1.12)' \
diff --git a/tests/ob_reduce_deps.sh b/tests/ob_reduce_deps.sh
index f70d83c..e486f4c 100755
--- a/tests/ob_reduce_deps.sh
+++ b/tests/ob_reduce_deps.sh
@@ -30,7 +30,7 @@ plan_ 11
command_ok_ \
'NORMAL LIST "foo, bar"' -- \
[ "$(ob_reduce_deps \
- -a 'core-linux-eglibc' \
+ -a 'amd64-linux-glibc' \
'foo, bar' \
)" = \
'foo, bar' \
@@ -39,7 +39,7 @@ command_ok_ \
command_ok_ \
'NORMAL LIST "foo,bar"' -- \
[ "$(ob_reduce_deps \
- -a 'core-linux-eglibc' \
+ -a 'amd64-linux-glibc' \
'foo,bar' \
)" = \
'foo, bar' \
@@ -48,7 +48,7 @@ command_ok_ \
command_ok_ \
'NORMAL LIST "foo, bar"' -- \
[ "$(ob_reduce_deps \
- -a 'core-linux-eglibc' \
+ -a 'amd64-linux-glibc' \
'foo, bar' \
)" = \
'foo, bar' \
@@ -58,7 +58,7 @@ command_ok_ \
'UNION LIST "foo, bar"' -- \
[ "$(ob_reduce_deps \
-u \
- -a 'core-linux-eglibc' \
+ -a 'amd64-linux-glibc' \
'foo, bar' \
)" = \
'foo, bar' \
@@ -68,7 +68,7 @@ command_ok_ \
'UNION LIST "foo,bar"' -- \
[ "$(ob_reduce_deps \
-u \
- -a 'core-linux-eglibc' \
+ -a 'amd64-linux-glibc' \
'foo,bar' \
)" = \
'foo, bar' \
@@ -78,7 +78,7 @@ command_ok_ \
'UNION LIST "foo, bar"' -- \
[ "$(ob_reduce_deps \
-u \
- -a 'core-linux-eglibc' \
+ -a 'amd64-linux-glibc' \
'foo, bar' \
)" = \
'foo, bar' \
@@ -89,7 +89,7 @@ command_ok_ \
command_ok_ \
'NORMAL LIST "foo | bar"' -- \
[ "$(ob_reduce_deps \
- -a 'core-linux-eglibc' \
+ -a 'amd64-linux-glibc' \
'foo | bar' \
)" = \
'foo | bar' \
@@ -98,7 +98,7 @@ command_ok_ \
command_ok_ \
'NORMAL LIST "foo|bar"' -- \
[ "$(ob_reduce_deps \
- -a 'core-linux-eglibc' \
+ -a 'amd64-linux-glibc' \
'foo|bar' \
)" = \
'foo | bar' \
@@ -107,7 +107,7 @@ command_ok_ \
command_ok_ \
'NORMAL LIST "foo | bar"' -- \
[ "$(ob_reduce_deps \
- -a 'core-linux-eglibc' \
+ -a 'amd64-linux-glibc' \
'foo | bar' \
)" = \
'foo | bar' \
@@ -116,20 +116,20 @@ command_ok_ \
# Normal and union AND-lists with arch specs.
command_ok_ \
- 'NORMAL LIST "foo [core-linux-eglibc], bar [!core-linux-eglibc]"' -- \
+ 'NORMAL LIST "foo [amd64-linux-glibc], bar [!amd64-linux-glibc]"' -- \
[ "$(ob_reduce_deps \
- -a 'core-linux-eglibc' \
- 'foo [core-linux-eglibc], bar [!core-linux-eglibc]' \
+ -a 'amd64-linux-glibc' \
+ 'foo [amd64-linux-glibc], bar [!amd64-linux-glibc]' \
)" = \
'foo' \
]
command_ok_ \
- 'UNION LIST "foo [core-linux-eglibc], bar [!core-linux-eglibc]"' -- \
+ 'UNION LIST "foo [amd64-linux-glibc], bar [!amd64-linux-glibc]"' -- \
[ "$(ob_reduce_deps \
-u \
- -a 'core-linux-eglibc' \
- 'foo [core-linux-eglibc], bar [!core-linux-eglibc]' \
+ -a 'amd64-linux-glibc' \
+ 'foo [amd64-linux-glibc], bar [!amd64-linux-glibc]' \
)" = \
'foo' \
]