improve liminix-rebuild test
* make it executable * improve robustness * do't hardcode services.default (why did it do this?)
This commit is contained in:
5
tests/min-copy-closure/test-liminix-rebuild.sh
Normal file → Executable file
5
tests/min-copy-closure/test-liminix-rebuild.sh
Normal file → Executable file
@@ -1,10 +1,11 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#! nix-shell -v -i bash -p expect socat
|
||||
|
||||
# This is a test for liminix-rebuild. It's not a CI test because
|
||||
# liminix-rebuild calls nix-build so won't run inside a derivation,
|
||||
# meaning you have to remember to run it manually when changing
|
||||
# liminix-rebuild
|
||||
|
||||
# nix-shell -p expect socat --run "sh ./tests/min-copy-closure/test-liminix-rebuild.sh "
|
||||
|
||||
. tests/test-helpers.sh
|
||||
|
||||
set -e
|
||||
|
Reference in New Issue
Block a user