From 5c55fc05e0e949a9278701efeee379330e5e3153 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 17 Jun 2019 23:55:44 -0400 Subject: opkbuild, tests: Parameterize fakeroot --- (limited to 'tests/exe') diff --git a/tests/exe/ob-buildopk.sh b/tests/exe/ob-buildopk.sh index 005f639..ddf0734 100755 --- a/tests/exe/ob-buildopk.sh +++ b/tests/exe/ob-buildopk.sh @@ -48,8 +48,7 @@ cp -p '../../src/src/foo.sh' 'foo.data/usr/bin/' touch 'foo.control/control' 'foo.control/md5sums' \ 'bar.control/control' 'bar.control/md5sums' -# TODO: Parameterize fakeroot -command_ok_ 'ob-buildopk exit status' -- fakeroot ob-buildopk +command_ok_ 'ob-buildopk exit status' -- "${FAKEROOT}" ob-buildopk for opk in '../../foo_1.0-1_i686-linux-glibc_all.opk' \ '../../bar_1.0-1_all_all.opk'; do command_ok_ 'opk exists' -- [ -f "${opk}" ] -- cgit v0.9.1