aboutsummaryrefslogtreecommitdiff
path: root/tests/shutdown.at
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shutdown.at')
-rw-r--r--tests/shutdown.at10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/shutdown.at b/tests/shutdown.at
index d89f6f9..3982496 100644
--- a/tests/shutdown.at
+++ b/tests/shutdown.at
@@ -1,8 +1,8 @@
-# This file is part of GNU pies testsuite. -*- Autotest -*-
-# Copyright (C) 2019-2020 Sergey Poznyakoff
+# This file is part of GNU pies testsuite. -*- autotest -*-
+# Copyright (C) 2019-2023 Sergey Poznyakoff
#
# GNU pies is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
@@ -26,25 +26,25 @@ cat > pies.conf <<_EOT
component test {
mode respawn;
command "$auxdir/respawn $statefile 3";
chdir $PWD;
return-code 1 {
action disable;
- exec "piesctl --url unix:///$PWD/pies.ctl --no-netrc shutdown";
- }
+ exec "piesctl --config-file=/dev/null --url unix:///$PWD/pies.ctl --no-netrc shutdown";
+ }
}
component s {
mode shutdown;
command "$auxdir/touchfile shutdown";
}
_EOT
set -e
to 5 \
- pies --foreground --stderr \
+ pies --no-preprocessor --foreground --stderr \
--config-file control.conf --config-file pies.conf --debug 1 2>errlog
cat shutdown
],
[0],
[shutdown

Return to:

Send suggestions and report system problems to the System administrator.