Add a test for repairing paths
This commit is contained in:
parent
a9d99ab55f
commit
832377bbd6
5 changed files with 56 additions and 8 deletions
|
|
@ -29,6 +29,8 @@ export SHELL="@bash@"
|
|||
export version=@PACKAGE_VERSION@
|
||||
export system=@system@
|
||||
|
||||
cacheDir=$TEST_ROOT/binary-cache
|
||||
|
||||
readLink() {
|
||||
ls -l "$1" | sed 's/.*->\ //'
|
||||
}
|
||||
|
|
@ -55,6 +57,10 @@ clearManifests() {
|
|||
rm -f $NIX_STATE_DIR/manifests/*
|
||||
}
|
||||
|
||||
clearCache() {
|
||||
rm -rf "$cacheDir"
|
||||
}
|
||||
|
||||
startDaemon() {
|
||||
# Start the daemon, wait for the socket to appear. !!!
|
||||
# ‘nix-daemon’ should have an option to fork into the background.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue