about summary refs log tree commit diff
path: root/tests/common.sh.in
AgeCommit message (Collapse)AuthorFilesLines
2018-02-01 Remove obsolete references to manifestsEelco Dolstra1-1/+0
Closes #323.
2018-01-13 Fix tests using user namespaces on kernels that don't have itTuomas Tynkkynen1-0/+18
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-30 use libbrotli directly when availableWill Dietz1-0/+1
* 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-24 fetchGit: Ignore tarballTtl if rev is set and not in the repo.Shea Levy1-0/+1
Fixes #1697.
2017-11-15 DohEelco Dolstra1-0/+11
2017-10-23 NIX_BUILD_HOOK variable is goneEelco Dolstra1-1/+0
2017-07-06 Remove unused variable from test scriptRobert Vollmert1-2/+0
2017-06-19 macOS: Ugly hack to make the tests succeedEelco Dolstra1-0/+4
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-26 Revert "Get rid of unicode quotes (#1140)"Eelco Dolstra1-1/+1
This reverts commit f78126bfd6b6c8477fcdbc09b2f98772dbe9a1e7. There really is no need for such a massive change...
2016-11-25 Get rid of unicode quotes (#1140)Guillaume Maudoux1-1/+1
2016-10-19 Handle $TMPDIR ending with a slashEelco Dolstra1-1/+1
This caused the gc test to fail on Darwin.
2016-08-10 Remove $NIX_DB_DIREelco Dolstra1-5/+2
This variable has no reason to exist, given $NIX_STATE_DIR.
2016-07-21 Shut up warningEelco Dolstra1-0/+1
2016-05-31 Fix nix-profile test in a chrootEelco Dolstra1-0/+1
http://hydra.nixos.org/build/36462078
2016-05-30 Forgot to commitEelco Dolstra1-0/+7
2016-04-11 Remove manifest supportEelco Dolstra1-4/+0
Manifests have been superseded by binary caches for years. This also gets rid of nix-pull, nix-generate-patches and bsdiff/bspatch.
2016-03-24 Use shorter daemon socket path in testsEelco Dolstra1-1/+1
Otherwise we hit the 104 character limit. http://hydra.nixos.org/build/33562028
2015-02-10 Make libsodium an optional dependencyEelco Dolstra1-0/+1
2014-09-23 Fix use of PAGER during testsEelco Dolstra1-0/+1
2014-08-13 Remove log2html.xsl and friendsEelco Dolstra1-1/+0
It's part of Hydra now.
2014-02-17 Add a test for repairing pathsEelco Dolstra1-0/+6
2014-02-01 Fix logging testEelco Dolstra1-1/+0
2014-02-01 Fix the nix-profile testEelco Dolstra1-1/+0
2013-11-25 Add support for ‘make installcheck’Eelco Dolstra1-4/+4
2013-01-02 UrggghEelco Dolstra1-1/+1
http://hydra.nixos.org/build/3661100
2012-10-03 Rename nix-worker to nix-daemonEelco Dolstra1-2/+2
2012-09-13 Add a test for nix-profile.shEelco Dolstra1-0/+1
2012-07-27 Use "set -x" in the tests to see where a test failsEelco Dolstra1-0/+2
2012-07-26 Clear NIX_STORE when running the testsEelco Dolstra1-0/+1
2012-04-14 Urgh, modified the wrong file...Eelco Dolstra1-1/+1
2012-03-19 Replace "make check" with "make installcheck"Eelco Dolstra1-11/+2
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-18 Drop the externals directoryEelco Dolstra1-5/+0
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-11 tests: Run `download-using-manifests' via libtool so that dlopening works.Ludovic Courtès1-0/+3
2012-01-03 * Refactoring: Get rid of a few subdirectories in corepkgs/, and someEelco Dolstra1-6/+1
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 Dolstra1-2/+0
2011-10-11 * Work around a race condition starting the Nix daemon.Eelco Dolstra1-1/+8
2011-10-10 * Refactoring: remove unnecessary variables from the tests.Eelco Dolstra1-9/+2
2011-10-10 * Install NixManifest.pm, NixConfig.pm and GeneratePatches.pm underEelco Dolstra1-4/+9
the Nix:: namespace.
2011-07-20 * Refactoring.Eelco Dolstra1-3/+14
2010-05-12 * Sync with the trunk.Eelco Dolstra1-5/+0
2010-04-19 * Drop the dependency on the ATerm library.Eelco Dolstra1-5/+0
2010-02-24 * Set the path to sqlite3 properly.Eelco Dolstra1-0/+1
2009-03-25 * Use bash in the tests.Eelco Dolstra1-0/+1
2009-03-18 * Better cleanup after tests.Eelco Dolstra1-5/+8
2009-03-17 * Regression test for exportBuildReferencesGraph. It currently fails.Eelco Dolstra1-0/+5
2008-12-12 * Some hackery to make "make check" succeed on Cygwin.Eelco Dolstra1-0/+4
2007-08-14 * Hopefully this fixes the test on FreeBSD.Eelco Dolstra1-1/+1
2007-08-13 * A test for the nix-worker.Eelco Dolstra1-1/+4
2007-08-13 * Fix the tests.Eelco Dolstra1-0/+4
2006-12-02 * Clear NIX_REMOTE in the tests.Eelco Dolstra1-0/+2