diff options
Diffstat (limited to 'tests/builtin.at')
-rw-r--r-- | tests/builtin.at | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/builtin.at b/tests/builtin.at index 88e24d7..c13b42b 100644 --- a/tests/builtin.at +++ b/tests/builtin.at | |||
@@ -1,5 +1,5 @@ | |||
1 | # This file is part of GNU pies testsuite. -*- Autotest -*- | 1 | # This file is part of GNU pies testsuite. -*- autotest -*- |
2 | # Copyright (C) 2016-2020 Sergey Poznyakoff | 2 | # Copyright (C) 2016-2023 Sergey Poznyakoff |
3 | # | 3 | # |
4 | # GNU pies is free software; you can redistribute it and/or modify | 4 | # GNU pies is free software; you can redistribute it and/or modify |
5 | # it under the terms of the GNU General Public License as published by | 5 | # it under the terms of the GNU General Public License as published by |
@@ -40,13 +40,13 @@ component controller { | |||
40 | command "nt -i input -o output $PIES_TEST_INET_SOCKET"; | 40 | command "nt -i input -o output $PIES_TEST_INET_SOCKET"; |
41 | return-code * { | 41 | return-code * { |
42 | action disable; | 42 | action disable; |
43 | exec "piesctl --url '$PIES_CTLSOCK' --no-netrc shutdown"; | 43 | exec "piesctl --config-file=/dev/null --url '$PIES_CTLSOCK' --config-file=/dev/null --no-netrc shutdown"; |
44 | } | 44 | } |
45 | } | 45 | } |
46 | _EOT | 46 | _EOT |
47 | set -e | 47 | set -e |
48 | to 10 \ | 48 | to 10 \ |
49 | pies --foreground --stderr \ | 49 | pies --no-preprocessor --foreground --stderr \ |
50 | --config-file control.conf --config-file pies.conf --debug 1 2>errlog | 50 | --config-file control.conf --config-file pies.conf --debug 1 2>errlog |
51 | 51 | ||
52 | cat output m4_if([$1],[qotd],[| tr -d '\r']) | 52 | cat output m4_if([$1],[qotd],[| tr -d '\r']) |
@@ -78,7 +78,7 @@ component controller { | |||
78 | stderr file "$PWD/controller.err"; | 78 | stderr file "$PWD/controller.err"; |
79 | return-code * { | 79 | return-code * { |
80 | action disable; | 80 | action disable; |
81 | exec "echo \$PIES_STATUS > $PWD/status ; piesctl --url '$PIES_CTLSOCK' --no-netrc shutdown"; | 81 | exec "echo \$PIES_STATUS > $PWD/status ; piesctl --url '$PIES_CTLSOCK' --config-file=/dev/null --no-netrc shutdown"; |
82 | } | 82 | } |
83 | } | 83 | } |
84 | _EOT | 84 | _EOT |
@@ -86,7 +86,7 @@ TZ=0 | |||
86 | export TZ | 86 | export TZ |
87 | set -e | 87 | set -e |
88 | to 10 \ | 88 | to 10 \ |
89 | pies --foreground --stderr \ | 89 | pies --no-preprocessor --foreground --stderr \ |
90 | --config-file control.conf --config-file pies.conf --debug 1 2>errlog | 90 | --config-file control.conf --config-file pies.conf --debug 1 2>errlog |
91 | 91 | ||
92 | if test -s in.err; then | 92 | if test -s in.err; then |
@@ -166,14 +166,14 @@ component test { | |||
166 | stderr file "$PWD/test.err"; | 166 | stderr file "$PWD/test.err"; |
167 | return-code * { | 167 | return-code * { |
168 | action disable; | 168 | action disable; |
169 | exec "piesctl --no-netrc --url=$PIES_CTLSOCK shutdown"; | 169 | exec "piesctl --config-file=/dev/null --no-netrc --url=$PIES_CTLSOCK shutdown"; |
170 | } | 170 | } |
171 | } | 171 | } |
172 | _EOT | 172 | _EOT |
173 | 173 | ||
174 | set -e | 174 | set -e |
175 | to 10 \ | 175 | to 10 \ |
176 | pies --foreground --stderr \ | 176 | pies --no-preprocessor --foreground --stderr \ |
177 | --config-file control.conf --config-file pies.conf --debug 1 2>errlog | 177 | --config-file control.conf --config-file pies.conf --debug 1 2>errlog |
178 | 178 | ||
179 | for err in one.err two.err test.err | 179 | for err in one.err two.err test.err |