summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-18 01:07:30 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-18 01:07:30 (EDT)
commit674fa0989ff273f563ebf752cbbfe316e9210589 (patch)
tree065a41a236909e7fab3c49520e596d60e5abc370 /tests
parent423d9ad92b9b9bb0fee7b2a07650cd4a5b3d6796 (diff)
tests/exe/opkbuild.sh: Add directories to test results
This partially reverts commit 48cce14.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/exe/opkbuild.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/exe/opkbuild.sh b/tests/exe/opkbuild.sh
index 47fdcf7..6baeab0 100755
--- a/tests/exe/opkbuild.sh
+++ b/tests/exe/opkbuild.sh
@@ -61,21 +61,30 @@ for opk in '../src-foo_1.0-1_src_all.opk' \
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
+ ./
+ ./usr/
+ ./usr/bin/
./usr/bin/foo.sh
+ ./usr/share/
+ ./usr/share/doc/
+ ./usr/share/doc/foo/
./usr/share/doc/foo/README.dist
./usr/share/doc/foo/README.upstream
./usr/share/doc/foo/changelog.dist
@@ -83,5 +92,9 @@ cmd_is 'data.tar.gz contents' \
EOF
cmd_is 'data.tar.gz contents' \
ls_inner '../bar_1.0-1_all_all.opk' data.tar.gz <<-EOF
+ ./
+ ./usr/
+ ./usr/share/
+ ./usr/share/doc/
./usr/share/doc/bar
EOF