From d5c6f7cb0cac6546fda95aac9cc4ca3bad68c93f Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Sat, 18 Dec 2021 14:35:06 -0800 Subject: [PATCH] integration-tests: No need to sort --- integration-tests/tools.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-tests/tools.nix b/integration-tests/tools.nix index 19b1649..1288d8e 100644 --- a/integration-tests/tools.nix +++ b/integration-tests/tools.nix @@ -139,9 +139,9 @@ let 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(): - 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) deployer.log(f"{len(new_store_paths)} store paths were created")