aboutsummaryrefslogtreecommitdiff
path: root/tests/startup.at
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-06-02 13:43:21 +0300
committerSergey Poznyakoff <gray@gnu.org>2019-06-02 13:49:55 +0300
commit8004bbaa1b31b14dd4c4d3886b5f57b103bf7405 (patch)
treea6fd826c284fe1e7131c4852c2964b6029ca758d /tests/startup.at
parent685600d72b0c300f94c0c69dc0a16c4ebb230a21 (diff)
downloadpies-8004bbaa1b31b14dd4c4d3886b5f57b103bf7405.tar.gz
pies-8004bbaa1b31b14dd4c4d3886b5f57b103bf7405.tar.bz2
Speed up tests.
Presence of the ~/.netrc file can slow down execution because of eventual DNS calls in hostcmp. Provide an option to disable netrc parsing and use it in tests. * src/piesctl-cl.opt: New option: --no-netrc. * doc/pies.texi: Document --no-netrc * src/piesctl.c (shttp_connect): Don't read ~/.netrc if given --no-netrc. * tests/env.at: Pass --no-netrc to piesctl. * tests/respawn.at: Likewise. * tests/shell.at: Likewise. * tests/shutdown.at: Likewise. * tests/startup.at: Likewise.
Diffstat (limited to 'tests/startup.at')
-rw-r--r--tests/startup.at4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/startup.at b/tests/startup.at
index 22ad25b..b65f9f6 100644
--- a/tests/startup.at
+++ b/tests/startup.at
@@ -41,3 +41,3 @@ component test {
41 action disable; 41 action disable;
42 exec "piesctl --url unix:///$PWD/pies.ctl shutdown"; 42 exec "piesctl --url unix:///$PWD/pies.ctl --no-netrc shutdown";
43 } 43 }
@@ -49,3 +49,3 @@ to 5 \
49 pies --foreground --stderr \ 49 pies --foreground --stderr \
50 --config-file control.conf --config-file pies.conf 2>errlog 50 --config-file control.conf --config-file pies.conf --debug 1 2>errlog
51 51

Return to:

Send suggestions and report system problems to the System administrator.