From 0bd5eb71a0a23b27a02af591ba46e4cf2c34aa04 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 21 Sep 2006 18:54:08 +0000 Subject: * `nix-install-package --url': install from a URL (NIX-12). * `nix-install-package --help' (NIX-9). * `nix-install-package --non-interactive': don't prompt or pause. * Tests for nix-install-package. * Security fixes: filter the values obtained from the nixpkg. --- tests/install-package.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/install-package.sh (limited to 'tests/install-package.sh') diff --git a/tests/install-package.sh b/tests/install-package.sh new file mode 100644 index 000000000000..89d1d71f3286 --- /dev/null +++ b/tests/install-package.sh @@ -0,0 +1,21 @@ +source common.sh + +# Note: this test expects to be run *after* nix-push.sh. + +drvPath=$($nixinstantiate ./dependencies.nix) +outPath=$($nixstore -q $drvPath) + +clearStore +clearProfiles + +cat > $TEST_ROOT/foo.nixpkg <