From e2e2f776bce4d0ca43c6d2da780f0de1853ac88e Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 13 Feb 2024 18:42:38 +0100 Subject: with-serve test runner: do not rely on readdir order --- test/end-to-end/with_serve_test_runner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/end-to-end/with_serve_test_runner.py') diff --git a/test/end-to-end/with_serve_test_runner.py b/test/end-to-end/with_serve_test_runner.py index 5caf752c..b3fb1b07 100755 --- a/test/end-to-end/with_serve_test_runner.py +++ b/test/end-to-end/with_serve_test_runner.py @@ -163,7 +163,8 @@ GIT_NOBODY_ENV: Dict[str, str] = { } count = 0 -for repo in os.listdir("data"): +repo_data = sorted(os.listdir("data")) +for repo in repo_data: target = os.path.join(REPOS_DIR, repo) shutil.copytree( os.path.join(DATA_DIR, repo), -- cgit v1.2.3