From a18237987e6b197339b1b97e5ec76da313c6e694 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 16 Jun 2019 09:35:44 -0400 Subject: tests/exe/ob-buildopk.sh: Test member ordering --- 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 ./ -- cgit v0.9.1