forked from DGNum/colmena
integration-tests: No need to sort
This commit is contained in:
parent
b52ac7e94f
commit
d5c6f7cb0c
1 changed files with 2 additions and 2 deletions
|
@ -139,9 +139,9 @@ let
|
||||||
|
|
||||||
deployer.succeed("cp --no-preserve=mode -r ${bundle} /tmp/bundle && chmod u+w /tmp/bundle")
|
deployer.succeed("cp --no-preserve=mode -r ${bundle} /tmp/bundle && chmod u+w /tmp/bundle")
|
||||||
|
|
||||||
orig_store_paths = set(deployer.succeed("ls /nix/store | sort").strip().split("\n"))
|
orig_store_paths = set(deployer.succeed("ls /nix/store").strip().split("\n"))
|
||||||
def get_new_store_paths():
|
def get_new_store_paths():
|
||||||
cur_store_paths = set(deployer.succeed("ls /nix/store | sort").strip().split("\n"))
|
cur_store_paths = set(deployer.succeed("ls /nix/store").strip().split("\n"))
|
||||||
new_store_paths = cur_store_paths.difference(orig_store_paths)
|
new_store_paths = cur_store_paths.difference(orig_store_paths)
|
||||||
deployer.log(f"{len(new_store_paths)} store paths were created")
|
deployer.log(f"{len(new_store_paths)} store paths were created")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue