diff options
Diffstat (limited to 'tests/shutdown.at')
-rw-r--r-- | tests/shutdown.at | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/shutdown.at b/tests/shutdown.at index 1c2a4ef..24a4504 100644 --- a/tests/shutdown.at +++ b/tests/shutdown.at | |||
@@ -26,26 +26,26 @@ cat > pies.conf <<_EOT | |||
26 | component test { | 26 | component test { |
27 | mode respawn; | 27 | mode respawn; |
28 | command "$auxdir/respawn $statefile 3"; | 28 | command "$auxdir/respawn $statefile 3"; |
29 | chdir $PWD; | 29 | chdir $PWD; |
30 | return-code 1 { | 30 | return-code 1 { |
31 | action disable; | 31 | action disable; |
32 | exec "piesctl --url unix:///$PWD/pies.ctl shutdown"; | 32 | exec "piesctl --url unix:///$PWD/pies.ctl --no-netrc shutdown"; |
33 | } | 33 | } |
34 | } | 34 | } |
35 | 35 | ||
36 | component s { | 36 | component s { |
37 | mode shutdown; | 37 | mode shutdown; |
38 | command "$auxdir/touchfile shutdown"; | 38 | command "$auxdir/touchfile shutdown"; |
39 | } | 39 | } |
40 | _EOT | 40 | _EOT |
41 | 41 | ||
42 | set -e | 42 | set -e |
43 | to 5 \ | 43 | to 5 \ |
44 | pies --foreground --stderr \ | 44 | pies --foreground --stderr \ |
45 | --config-file control.conf --config-file pies.conf 2>errlog | 45 | --config-file control.conf --config-file pies.conf --debug 1 2>errlog |
46 | 46 | ||
47 | cat shutdown | 47 | cat shutdown |
48 | ], | 48 | ], |
49 | [0], | 49 | [0], |
50 | [shutdown | 50 | [shutdown |
51 | ]) | 51 | ]) |