summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-07-02 21:35:51 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-07-02 21:41:02 (EDT)
commitf9e215885d44fa1bbe0a1c2814e2f30a99dc02f3 (patch)
treed55fbaa5f871b8afda65fe60e09fd628ca6a6c27 /tests
parent513f54e3b5bdd683332e93f7922215a56d7c54fb (diff)
ob-*, opkbuild: s/src-/src:/
pro-archman already handles this. The (outdated and probably broken) initial port bootstrap scripts will need to be updated for this, if they're ever used again. Some instructions in the wiki need to be updated.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/exe/ob-gencontrol.sh4
-rwxr-xr-xtests/exe/opkbuild.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/exe/ob-gencontrol.sh b/tests/exe/ob-gencontrol.sh
index 3f3d05f..4ea0cb5 100755
--- a/tests/exe/ob-gencontrol.sh
+++ b/tests/exe/ob-gencontrol.sh
@@ -26,8 +26,8 @@ plan_ 12
OB_DO_SOURCE='true' command_ok_ 'ob-gencontrol source package exit status' -- \
ob-gencontrol
-cmd_is 'source package control file' cat 'src-foo.control/control' <<-EOF
- Package: src-foo
+cmd_is 'source package control file' cat 'src:foo.control/control' <<-EOF
+ Package: src:foo
Source: foo
Binary: bar baz-qux foo
Version: 1.0-1
diff --git a/tests/exe/opkbuild.sh b/tests/exe/opkbuild.sh
index b569986..a14f8d3 100755
--- a/tests/exe/opkbuild.sh
+++ b/tests/exe/opkbuild.sh
@@ -49,7 +49,7 @@ rm -Rf 'src/' 'tmp/'
cp -Rp '../src/' 'src/'
command_ok_ 'opkbuild exit status' -- opkbuild -a i686-linux-glibc -p x60 -dc
-for opk in '../src-foo_1.0-1_src_all.opk' \
+for opk in '../src:foo_1.0-1_src_all.opk' \
'../foo_1.0-1_i686-linux-glibc_all.opk' \
'../bar_1.0-1_all_all.opk'; do
command_ok_ 'opk exists' -- [ -f "${opk}" ]
@@ -60,7 +60,7 @@ for opk in '../src-foo_1.0-1_src_all.opk' \
EOF
done
cmd_is 'control.tar.gz contents' \
- ls_inner '../src-foo_1.0-1_src_all.opk' control.tar.gz <<-EOF
+ ls_inner '../src:foo_1.0-1_src_all.opk' control.tar.gz <<-EOF
./
./control
./md5sums