[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#827907: RFS: evil/1.2.12-1 ITP



* Sean Whitton <spwhitton@spwhitton.name>, 2016-06-30, 13:32:
   override_dh_elpa_test:
       dtach --foo --bar -- dh_elpa_test

It's probably not _that_ simple. dtach, understandably, ignores exit status of the program it runs.

I think you'll need something like this:

override_dh_elpa_test:
	rm -f test_exit_status
	dtach -c tmpsocket sh -c 'dh_elpa_test; echo $$? > test_exit_status'
	rc=$$(cat test_exit_status) && exit $rc

--
Jakub Wilk


Reply to: