Bug#932124: insserv: test suite does not work with installed binary

Dmitry Bogatov KAction at debian.org
Mon Jul 15 15:45:56 BST 2019


Package: insserv
Severity: normal

Dear Maintainer,

in tests/suite there is following line:

	: ${insserv:=${PWD}/../insserv}

I assume, that shy assignment (${foo:=defval}) means that I can override
this value via environment variable. But I try, I get following error:

	$ make check insserv=/sbin/insserv
	rm -rf tests/root/
	cd tests && ./common
	/home/iu/devel/salsa/debian/insserv/tests

	info: test simple script ordering.

	/sbin/insserv: invalid option -- 'i'
	insserv: For help use: insserv -h
	/sbin/insserv: invalid option -- 'i'
	insserv: For help use: insserv -h
	/sbin/insserv: invalid option -- 'i'
	insserv: For help use: insserv -h
	insserv.conf

	init.d:
	firstscript
	lastscript
	middlescript
	error: script firstscript not present in runlevel 2
	error: 1 test executed, 1 fatal tests failed, 0 nonfatal test failed.
	make: *** [Makefile:147: check] Error 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20190715/884c926c/attachment.sig>


More information about the Debian-init-diversity mailing list