mirror of
https://github.com/NixOS/nix
synced 2025-07-08 02:43:54 +02:00
* Allow the location of the store etc. to be specified using
environment variables. * Started adding some automatic tests. * Do a `make check' when building RPMs.
This commit is contained in:
parent
fd927c5d25
commit
256eeab711
9 changed files with 86 additions and 13 deletions
10
tests/simple.sh
Normal file
10
tests/simple.sh
Normal file
|
@ -0,0 +1,10 @@
|
|||
storeExpr=$($TOP/src/nix-instantiate/nix-instantiate simple.nix)
|
||||
|
||||
echo "store expr is $storeExpr"
|
||||
|
||||
outPath=$($TOP/src/nix-store/nix-store -qnfvvvvv "$storeExpr")
|
||||
|
||||
echo "output path is $outPath"
|
||||
|
||||
text=$(cat "$outPath"/hello)
|
||||
if test "$text" != "Hello World!"; then exit 1; fi
|
Loading…
Add table
Add a link
Reference in a new issue