mirror of
https://github.com/troglobit/finit.git
synced 2026-10-14 10:19:36 +00:00
test: extend svc-env.sh with more common use-case
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
7c86b40190
commit
60bf858302
2 files changed
+3
-1
No files matched your search
@@ -5,3 +5,5 @@ foo=bar
|
||||
baz=qux
|
||||
|
||||
xyzzy=$foo
|
||||
|
||||
FOO_ARGS="-i $foo -l $xyzzy endarg"
|
||||
+1
-1
@@ -22,7 +22,7 @@ test_teardown()
|
||||
|
||||
sep "/etc/env:"
|
||||
run "cat /etc/env"
|
||||
run "echo 'service env:/etc/env serv -np -e xyzzy:bar -- serv checks xyzzy=bar' > $FINIT_CONF"
|
||||
run "echo 'service env:/etc/env serv -np -e xyzzy:bar -e \"FOO_ARGS:-i bar -l bar endarg\" -- serv checks xyzzy=bar' > $FINIT_CONF"
|
||||
|
||||
say 'Reload Finit'
|
||||
run "initctl reload"
|
||||
|
||||
Reference in new issue
Block a user