summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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