aboutsummaryrefslogtreecommitdiff
path: root/tests/timeout.sh
AgeCommit message (Collapse)Author
2021-07-27Allow running all the tests with the daemonregnat
When `NIX_DAEMON_PACKAGE` is set, make all the tests use the Nix daemon. That way we can test every piece of Nix functionality both with and without the daemon. Tests for which using the daemon isn’t possible or doesn’t make sens can selectively be disabled with `needLocalStore`
2019-07-02timeout: test for error codeGraham Christensen
2017-11-20Test: Replace --option with the corresponding flagEelco Dolstra
2017-08-31Rename a few configuration optionsEelco Dolstra
In particular, drop the "build-" and "gc-" prefixes which are pointless. So now you can say nix build --no-sandbox instead of nix build --no-build-use-sandbox
2017-07-30Replace Unicode quotes in user-facing strings by ASCIIJörg Thalheim
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g"
2017-04-08Process nix.conf options in "new" nix commands, add test.Will Dietz
Without this (minor) change, the options set using "--option" or read from nix.conf were parsed but not used.
2017-01-19Kill builds when we get EOF on the log FDEelco Dolstra
This closes a long-time bug that allowed builds to hang Nix indefinitely (regardless of timeouts) simply by doing exec > /dev/null 2>&1; while true; do true; done Now, on EOF, we just send SIGKILL to the child to make sure it's really gone.
2017-01-19Add a test for --max-silent-timeEelco Dolstra
2016-11-26Revert "Get rid of unicode quotes (#1140)"Eelco Dolstra
This reverts commit f78126bfd6b6c8477fcdbc09b2f98772dbe9a1e7. There really is no need for such a massive change...
2016-11-25Get rid of unicode quotes (#1140)Guillaume Maudoux
2014-08-20Use proper quotes everywhereEelco Dolstra
2014-08-20Reduce test verbosityEelco Dolstra
2013-09-02Adda test for build-max-log-sizeEelco Dolstra
2011-10-10* Refactoring: remove unnecessary variables from the tests.Eelco Dolstra
2011-06-30Add support for the `build-timeout' and `--timeout' options.Ludovic Courtès