summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-16 09:35:44 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-16 09:35:44 (EDT)
commita18237987e6b197339b1b97e5ec76da313c6e694 (patch)
treed5081256ac35a754b33b3fcb8ffda4d3e1bd994d /tests
parent69bc3e53f6d4390d6d270878fa0a7b1719123d61 (diff)
tests/exe/ob-buildopk.sh: Test member ordering
Diffstat (limited to 'tests')
-rwxr-xr-xtests/exe/ob-buildopk.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/exe/ob-buildopk.sh b/tests/exe/ob-buildopk.sh
index 52b050b..a847ef1 100755
--- a/tests/exe/ob-buildopk.sh
+++ b/tests/exe/ob-buildopk.sh
@@ -27,7 +27,7 @@ ls_outer()
local opk="${1}"
shift 1
- tar -tzf "${opk}" | LC_ALL=POSIX sort
+ tar -tzf "${opk}"
}
ls_inner()
@@ -36,7 +36,7 @@ ls_inner()
local mbr="${2}"
shift 2
- tar -xzOf "${opk}" "${mbr}" | tar -tz | LC_ALL=POSIX sort
+ tar -xzOf "${opk}" "${mbr}" | tar -tz
}
plan_ 9
@@ -54,9 +54,9 @@ for opk in '../../foo_1.0-1_i686-linux-glibc_all.opk' \
'../../bar_1.0-1_all_all.opk'; do
command_ok_ 'opk exists' -- [ -f "${opk}" ]
cmd_is 'outer archive contents' ls_outer "${opk}" <<-EOF
+ debian-binary
control.tar.gz
data.tar.gz
- debian-binary
EOF
cmd_is 'control.tar.gz contents' ls_inner "${opk}" control.tar.gz <<-EOF
./