summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests/exe/opkbuild.sh22
1 files changed, 17 insertions, 5 deletions
diff --git a/tests/exe/opkbuild.sh b/tests/exe/opkbuild.sh
index d425c1a..165c7d3 100755
--- a/tests/exe/opkbuild.sh
+++ b/tests/exe/opkbuild.sh
@@ -56,12 +56,24 @@ for opk in '../src-foo_1.0-1_src_all.opk' \
data.tar.gz
debian-binary
EOF
- cmd_is 'control.tar.gz contents' ls_inner "${opk}" control.tar.gz <<-EOF
- ./
- ./control
- ./md5sums
- EOF
done
+cmd_is 'control.tar.gz contents' \
+ ls_inner '../src-foo_1.0-1_src_all.opk' control.tar.gz <<-EOF
+ ./
+ ./control
+ ./md5sums
+ EOF
+cmd_is 'control.tar.gz contents' \
+ ls_inner '../foo_1.0-1_i686-linux-glibc_all.opk' control.tar.gz <<-EOF
+ ./
+ ./control
+ ./md5sums
+ EOF
+cmd_is 'control.tar.gz contents' \
+ ls_inner '../bar_1.0-1_all_all.opk' control.tar.gz <<-EOF
+ ./
+ ./control
+ EOF
cmd_is 'data.tar.gz contents' \
ls_inner '../foo_1.0-1_i686-linux-glibc_all.opk' data.tar.gz <<-EOF
./