mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
* Re-enable all tests.
This commit is contained in:
parent
066da4ab85
commit
498f4915cc
@ -34,11 +34,9 @@ fallback.sh: fallback.nix
|
||||
nix-push.sh: dependencies.nix
|
||||
nix-pull.sh: dependencies.nix
|
||||
|
||||
#TESTS = init.sh hash.sh lang.sh simple.sh dependencies.sh locking.sh parallel.sh \
|
||||
# build-hook.sh substitutes.sh substitutes2.sh fallback.sh nix-push.sh verify.sh \
|
||||
# nix-pull.sh
|
||||
|
||||
TESTS = init.sh nix-push.sh nix-pull.sh
|
||||
TESTS = init.sh hash.sh lang.sh simple.sh dependencies.sh locking.sh parallel.sh \
|
||||
build-hook.sh substitutes.sh substitutes2.sh fallback.sh nix-push.sh verify.sh \
|
||||
nix-pull.sh
|
||||
|
||||
XFAIL_TESTS =
|
||||
|
||||
|
@ -5,7 +5,7 @@ outPath=$($TOP/src/nix-store/nix-store -q --fallback "$storeExpr")
|
||||
echo "output path is $outPath"
|
||||
|
||||
# Register a non-existant substitute
|
||||
(echo $outPath && echo $TOP/no-such-program && echo 0) | $TOP/src/nix-store/nix-store --substitute
|
||||
(echo $outPath && echo $TOP/no-such-program && echo 0 && echo 0) | $TOP/src/nix-store/nix-store --substitute
|
||||
|
||||
# Build the derivation
|
||||
$TOP/src/nix-store/nix-store -r --fallback "$storeExpr"
|
||||
|
@ -7,7 +7,7 @@ outPath=$($TOP/src/nix-store/nix-store -qvv "$storeExpr")
|
||||
echo "output path is $outPath"
|
||||
|
||||
regSub() {
|
||||
(echo $1 && echo $2 && echo 3 && echo $outPath && echo Hallo && echo Wereld) | $TOP/src/nix-store/nix-store --substitute
|
||||
(echo $1 && echo $2 && echo 3 && echo $outPath && echo Hallo && echo Wereld && echo 0) | $TOP/src/nix-store/nix-store --substitute
|
||||
}
|
||||
|
||||
# Register a substitute for the output path.
|
||||
|
@ -7,7 +7,7 @@ outPath=$($TOP/src/nix-store/nix-store -qvvvvv "$storeExpr")
|
||||
echo "output path is $outPath"
|
||||
|
||||
regSub() {
|
||||
(echo $1 && echo $2 && echo 3 && echo $outPath && echo Hallo && echo Wereld) | $TOP/src/nix-store/nix-store --substitute
|
||||
(echo $1 && echo $2 && echo 3 && echo $outPath && echo Hallo && echo Wereld && echo 0) | $TOP/src/nix-store/nix-store --substitute
|
||||
}
|
||||
|
||||
# Register a substitute for the output path.
|
||||
|
Loading…
Reference in New Issue
Block a user