In the Singularity container platform the change to the mounted stage directory is done with
|
if self.workdir: |
|
run_opts.append(f'-W {self.workdir}') |
but
-W doesn't change the directory like docker or sarus. From
singularity --help:
-W, --workdir string working directory to be used for /tmp,
/var/tmp and $HOME (if -c/--contain was
also used)
As a result the test doesn't start in the stage directory.