mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 15:26:17 +02:00
* Re-enable all tests.
This commit is contained in:
parent
066da4ab85
commit
498f4915cc
4 changed files with 6 additions and 8 deletions
|
@ -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 a new issue