about summary refs log tree commit diff
path: root/tests/locking.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-03-25T16·43+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-03-25T16·43+0000
commit7024a1ef076cedf4596c9f4b107e85d315242cea (patch)
tree70534f32c233fc1d6b1ef27441020ff6d12805ad /tests/locking.sh
parent8146a0c7313b95b4cc24776cc609efc846b0a38e (diff)
* Removed the locking.sh test; it's redundant because of the extended
  parallel.sh test.  Also, don't call multiple nix-builds in parallel,
  since they can race creating .nix-build-tmp-derivation.

Diffstat (limited to 'tests/locking.sh')
-rw-r--r--tests/locking.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/locking.sh b/tests/locking.sh
deleted file mode 100644
index 4b41de3916a9..000000000000
--- a/tests/locking.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-source common.sh
-
-drvPath=$($nixinstantiate locking.nix)
-
-echo "derivation is $drvPath"
-
-for i in 1 2 3 4 5; do
-    echo "WORKER $i"
-    $nixstore -rvv "$drvPath" &
-done
-
-sleep 5
-
-outPath=$($nixstore -qvvf "$drvPath")
-
-echo "output path is $outPath"
-
-text=$(cat "$outPath")
-if test "$text" != "aabcade"; then exit 1; fi