path: root/tests/
authorSergey Poznyakoff <>2019-06-02 10:43:21 (GMT)
committer Sergey Poznyakoff <>2019-06-02 10:49:55 (GMT)
commit8004bbaa1b31b14dd4c4d3886b5f57b103bf7405 (patch) (side-by-side diff)
treea6fd826c284fe1e7131c4852c2964b6029ca758d /tests/
parent685600d72b0c300f94c0c69dc0a16c4ebb230a21 (diff)
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/ Pass --no-netrc to piesctl. * tests/ Likewise. * tests/ Likewise. * tests/ Likewise. * tests/ Likewise.
Diffstat (limited to 'tests/') (more/less context) (ignore whitespace changes)
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ b/tests/
index e3d104b..b459d02 100644
--- a/tests/
+++ b/tests/
@@ -29,7 +29,7 @@ component test {
chdir $PWD;
return-code 1 {
action disable;
- exec "piesctl --url unix:///$PWD/pies.ctl shutdown";
+ exec "piesctl --url unix:///$PWD/pies.ctl --no-netrc shutdown";

Return to:

Send suggestions and report system problems to the System administrator.