aboutsummaryrefslogtreecommitdiff
path: root/tests/builtin.at
diff options
context:
space:
mode:
Diffstat (limited to 'tests/builtin.at')
-rw-r--r--tests/builtin.at16
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
47set -e 47set -e
48to 10 \ 48to 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
52cat output m4_if([$1],[qotd],[| tr -d '\r']) 52cat 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
86export TZ 86export TZ
87set -e 87set -e
88to 10 \ 88to 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
92if test -s in.err; then 92if 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
174set -e 174set -e
175to 10 \ 175to 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
179for err in one.err two.err test.err 179for err in one.err two.err test.err

Return to:

Send suggestions and report system problems to the System administrator.