summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-18 16:49:35 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-18 16:49:35 (EDT)
commit57ff376f87f56994fdb2c568c38b09156d4ad63b (patch)
treec439666efaf0747f261565872392add8724ea27a
parent53bab4fd3a98b3e2f10fd7715b6302f2c5848596 (diff)
tests/exe/ob-gencontrol.sh: Run build makefile
This is what generates the binary package substvars file.
-rwxr-xr-xtests/exe/ob-gencontrol.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/exe/ob-gencontrol.sh b/tests/exe/ob-gencontrol.sh
index d558643..554e53e 100755
--- a/tests/exe/ob-gencontrol.sh
+++ b/tests/exe/ob-gencontrol.sh
@@ -24,9 +24,9 @@ set -eu
plan_ 8
-rm -Rf *'.data/'
-mkdir -p 'foo.data/usr/bin/' 'bar.data/'
-cp -p '../../src/src/foo.sh' 'foo.data/usr/bin/'
+rm -Rf 'src/' *'.data/'
+cp -Rp '../../src/' 'src/'
+../build install
for run in 'first' 'second'; do
command_ok_ "ob-gencontrol ${run} run exit status" -- ob-gencontrol