about summary refs log tree commit diff
path: root/tests/nix-push.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nix-push.sh')
-rw-r--r--tests/nix-push.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/nix-push.sh b/tests/nix-push.sh
new file mode 100644
index 000000000000..8ea59516c62c
--- /dev/null
+++ b/tests/nix-push.sh
@@ -0,0 +1,12 @@
+source common.sh
+
+clearStore
+
+drvPath=$(nix-instantiate dependencies.nix)
+outPath=$(nix-store -r $drvPath)
+
+echo "pushing $drvPath"
+
+mkdir -p $TEST_ROOT/cache
+
+nix-push --dest $TEST_ROOT/cache --manifest $drvPath --bzip2