aboutsummaryrefslogtreecommitdiff
path: root/tests/common.sh.in
AgeCommit message (Collapse)Author
2020-07-03Shorten the path to the test rootregnat
Fix a socket length failure on the OSX builders
2020-07-02Run the tests in parallelregnat
Cause the time needed to run the testsuite to drop from ~4mins to ~40s
2020-06-25build-remote.sh: Test LegacySSHStoreEelco Dolstra
2020-04-14add NIX_USER_CONF_FILESzimbatm
Motivation: maintain project-level configuration files. Document the whole situation a bit better so that it corresponds to the implementation, and add NIX_USER_CONF_FILES that allows overriding which user files Nix will load during startup.
2019-07-30Disable findRuntimeRoots on darwin when running tests because lsof is slowBas van Dijk
See: https://github.com/NixOS/nix/issues/3011
2019-03-04Restore --init calls in testsEelco Dolstra
2019-02-22remove noop uses of nix-store --initzimbatm
the nix-store --init command is a noop apparently
2018-11-07Enable sandboxing by defaultEelco Dolstra
Closes #179.
2018-08-06Require libbrotliEelco Dolstra
2018-06-06tests: more robust check for user namespaces availability (canUseSandbox)Aleksandr Pashkov
Issue https://github.com/NixOS/nix/issues/2165
2018-02-01Remove obsolete references to manifestsEelco Dolstra
Closes #323.
2018-01-13Fix tests using user namespaces on kernels that don't have itTuomas Tynkkynen
Disable various tests if the kernel doesn't support unprivileged user namespaces (e.g. Arch Linux disables them) or disable them via a sysctl (Debian, Ubuntu). Fixes #1521 Fixes #1625
2017-12-30use libbrotli directly when availableWill Dietz
* Look for both 'brotli' and 'bro' as external command, since upstream has renamed it in newer versions. If neither are found, current runtime behavior is preserved: try to find 'bro' on PATH. * Limit amount handed to BrotliEncoderCompressStream to ensure interrupts are processed in a timely manner. Testing shows negligible performance impact. (Other compression sinks don't seem to require this)
2017-11-24fetchGit: Ignore tarballTtl if rev is set and not in the repo.Shea Levy
Fixes #1697.
2017-11-15DohEelco Dolstra
2017-10-23NIX_BUILD_HOOK variable is goneEelco Dolstra
2017-07-06Remove unused variable from test scriptRobert Vollmert
2017-06-19macOS: Ugly hack to make the tests succeedEelco Dolstra
Sandboxes cannot be nested, so if Nix's build runs inside a sandbox, it cannot use a sandbox itself. I don't see a clean way to detect whether we're in a sandbox, so use a test-specific hack. https://github.com/NixOS/nix/issues/1413
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
2016-10-19Handle $TMPDIR ending with a slashEelco Dolstra
This caused the gc test to fail on Darwin.
2016-08-10Remove $NIX_DB_DIREelco Dolstra
This variable has no reason to exist, given $NIX_STATE_DIR.
2016-07-21Shut up warningEelco Dolstra
2016-05-31Fix nix-profile test in a chrootEelco Dolstra
http://hydra.nixos.org/build/36462078
2016-05-30Forgot to commitEelco Dolstra
2016-04-11Remove manifest supportEelco Dolstra
Manifests have been superseded by binary caches for years. This also gets rid of nix-pull, nix-generate-patches and bsdiff/bspatch.
2016-03-24Use shorter daemon socket path in testsEelco Dolstra
Otherwise we hit the 104 character limit. http://hydra.nixos.org/build/33562028
2015-02-10Make libsodium an optional dependencyEelco Dolstra
2014-09-23Fix use of PAGER during testsEelco Dolstra
2014-08-13Remove log2html.xsl and friendsEelco Dolstra
It's part of Hydra now.
2014-02-17Add a test for repairing pathsEelco Dolstra
2014-02-01Fix logging testEelco Dolstra
2014-02-01Fix the nix-profile testEelco Dolstra
2013-11-25Add support for ‘make installcheck’Eelco Dolstra
2013-01-02UrggghEelco Dolstra
http://hydra.nixos.org/build/3661100
2012-10-03Rename nix-worker to nix-daemonEelco Dolstra
2012-09-13Add a test for nix-profile.shEelco Dolstra
2012-07-27Use "set -x" in the tests to see where a test failsEelco Dolstra
2012-07-26Clear NIX_STORE when running the testsEelco Dolstra
2012-04-14Urgh, modified the wrong file...Eelco Dolstra
2012-03-19Replace "make check" with "make installcheck"Eelco Dolstra
Ensuring that the tests work from the build tree requires a growing number of nasty hacks. The tests also don't verify that the installed Nix actually works. Thus, the tests now require "make install" to have been run.
2012-03-18Drop the externals directoryEelco Dolstra
Nix now requires SQLite and bzip2 to be pre-installed. SQLite is detected using pkg-config. We required DBD::SQLite anyway, so depending on SQLite is not a big problem. The --with-bzip2, --with-openssl and --with-sqlite flags are gone.
2012-01-11tests: Run `download-using-manifests' via libtool so that dlopening works.Ludovic Courtès
2012-01-03* Refactoring: Get rid of a few subdirectories in corepkgs/, and someEelco Dolstra
other simplifications. * Use <nix/...> to locate the corepkgs. This allows them to be overriden through $NIX_PATH. * Use bash's pipefail option in the NAR builder so that we don't need to create a temporary file.
2011-12-14* Oops, the daemon test wasn't actually using the daemon.Eelco Dolstra
2011-10-11* Work around a race condition starting the Nix daemon.Eelco Dolstra
2011-10-10* Refactoring: remove unnecessary variables from the tests.Eelco Dolstra
2011-10-10* Install NixManifest.pm, NixConfig.pm and GeneratePatches.pm underEelco Dolstra
the Nix:: namespace.
2011-07-20* Refactoring.Eelco Dolstra
2010-05-12* Sync with the trunk.Eelco Dolstra