From cb411affcbc2eb183ee5f35e50c3863c0b94f98a Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Tue, 14 May 2019 15:41:52 +0000 Subject: Add option to mark service as non-restartable --- t/928935.t | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 t/928935.t (limited to 't/928935.t') diff --git a/t/928935.t b/t/928935.t new file mode 100644 index 0000000..e31756b --- /dev/null +++ b/t/928935.t @@ -0,0 +1,10 @@ +#!/usr/bin/perl +use strict; +use warnings; +use Test::More tests => 2; +use T; + +system_ok('dh_runit', 'debian/test.runscript', 'name=test,noreplace'); + +my $noreplace = 'debian/dh-runit-test/var/lib/runit/noreplace/test'; +ok(-f $noreplace, 'noreplace file correctly created'); -- cgit v1.2.3