diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2019-06-02 13:43:21 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2019-06-02 13:49:55 +0300 |
commit | 8004bbaa1b31b14dd4c4d3886b5f57b103bf7405 (patch) | |
tree | a6fd826c284fe1e7131c4852c2964b6029ca758d /doc | |
parent | 685600d72b0c300f94c0c69dc0a16c4ebb230a21 (diff) | |
download | pies-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 'doc')
-rw-r--r-- | doc/pies.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/pies.texi b/doc/pies.texi index 1a798e1..b77a40c 100644 --- a/doc/pies.texi +++ b/doc/pies.texi | |||
@@ -3024,6 +3024,10 @@ purposes. | |||
3024 | @itemx --instance=@var{inst} | 3024 | @itemx --instance=@var{inst} |
3025 | Talk to @command{pies} instance @var{inst}. | 3025 | Talk to @command{pies} instance @var{inst}. |
3026 | 3026 | ||
3027 | @item --no-netc | ||
3028 | @itemx -N | ||
3029 | Don't read @file{~/.netrc} file. | ||
3030 | |||
3027 | @item -u @var{url} | 3031 | @item -u @var{url} |
3028 | @itemx --url=@var{url} | 3032 | @itemx --url=@var{url} |
3029 | Specifies the URL of the communication socket. @xref{piesctl url}, | 3033 | Specifies the URL of the communication socket. @xref{piesctl url}, |