* Make sure that no build hook is set by default in the tests.

* Don't use `seq' - some primitive, obsolete operating systems
  (Darwin) don't have it.
This commit is contained in:
Eelco Dolstra 2004-08-19 09:09:09 +00:00
parent 1eddee59f2
commit 8f1dcdfc0a
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ TESTS_ENVIRONMENT = TEST_ROOT=$(TEST_ROOT) \
NIX_LOG_DIR=$(TEST_ROOT)/log \
NIX_STATE_DIR=$(TEST_ROOT)/state \
NIX_DB_DIR=$(TEST_ROOT)/db \
NIX_BUILD_HOOK= \
TOP=$(shell pwd)/.. \
SHARED=$(extra1) \
$(SHELL) -e -x

View File

@ -2,7 +2,7 @@ storeExpr=$($TOP/src/nix-instantiate/nix-instantiate locking.nix)
echo "store expr is $storeExpr"
for i in $(seq 1 5); do
for i in 1 2 3 4 5; do
echo "WORKER $i"
$TOP/src/nix-store/nix-store -rvvvvvB "$storeExpr" &
done