mirror of
https://github.com/NixOS/nix
synced 2025-07-10 08:53:55 +02:00
* Clean up some tests (use nix-build where appropriate).
This commit is contained in:
parent
93b6926054
commit
1dcf208f56
7 changed files with 25 additions and 34 deletions
|
@ -1,8 +1,8 @@
|
|||
source common.sh
|
||||
|
||||
$nixstore --gc
|
||||
clearStore
|
||||
|
||||
(cd $TEST_ROOT && $NIX_BIN_DIR/nix-build ../dependencies.nix)
|
||||
(cd $TEST_ROOT && $nixbuild ../dependencies.nix)
|
||||
test "$(cat $TEST_ROOT/result/foobar)" = FOOBAR
|
||||
|
||||
# The result should be retained by a GC.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue