When using --megatest, I see a directory name with a space: drwxrwxr-x 6 bruno bruno 4096 Mai 8 10:56 testdir1658193 drwxrwxr-x 6 bruno bruno 4096 Mai 8 10:56 'testdir 3482'
I had done a fix of this for --test in commit 1639b8598d86b3d8c7fc3c7a0afaed93c67cbb93. --megatest needs the same fix. 2024-05-08 Bruno Haible <br...@clisp.org> gnulib-tool.py: Make --megatest behaviour more similar to shell impl. * pygnulib/main.py (main) [megatest]: Remove space from the testdir name. diff --git a/pygnulib/main.py b/pygnulib/main.py index 8462916653..585f7df43f 100644 --- a/pygnulib/main.py +++ b/pygnulib/main.py @@ -1120,7 +1120,7 @@ def main(temp_directory: str) -> None: elif mode == 'megatest': if not destdir: - destdir = 'testdir %04d' % random.randrange(0, 9999) + destdir = 'testdir%04d' % random.randrange(0, 9999) if not auxdir: auxdir = 'build-aux' config.setAuxDir(auxdir)