From 2973e6672d8c7b9aac28f0f0e7756e929e59514d Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 18 Mar 2019 13:11:45 -0400 Subject: tests/exe/opkbuild.sh: Handle missing md5sums --- (limited to 'tests') 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 ./ -- cgit v0.9.1