about summary refs log tree commit diff
path: root/tests/fixed.builder2.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-08-28T09·21+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-08-28T09·21+0000
commit455a7b95776440a56fd5d545d3b9a01cbae1d8e7 (patch)
treec87976d51fd4b07fb4128585f85407c21550e2b6 /tests/fixed.builder2.sh
parent7d5836b34df363c2b2e7fc1574aaba1dde9a697e (diff)
* Test case to show that parallel builds of different fixed-output
  derivations that produce the same output path don't work properly
  wrt locking.  This happens a lot in the build farm when fetchurl
  derivations downloading the same file on different platforms are
  executed in parallel and then copied back to the main machine.

Diffstat (limited to 'tests/fixed.builder2.sh')
-rw-r--r--tests/fixed.builder2.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/fixed.builder2.sh b/tests/fixed.builder2.sh
index bc1a18d6e1d7..31ea1579a514 100644
--- a/tests/fixed.builder2.sh
+++ b/tests/fixed.builder2.sh
@@ -1,3 +1,5 @@
+echo dummy: $dummy
+if test -n "$dummy"; then sleep 2; fi
 mkdir $out
 mkdir $out/bla
 echo "Hello World!" > $out/foo