File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -138,13 +138,14 @@ jobs:
138138
139139 # test use of --overlay-tool unionfs
140140 elif [[ ${{matrix.SCRIPT_TEST}} == 'unionfs' ]]; then
141+ outfile=out_unionfs.txt
141142 container="docker://ghcr.io/eessi/build-node:debian12"
142143 export SINGULARITY_BIND="$PWD:/test"
143144 echo 'ls -ld /cvmfs*/software.eessi.io/*' > test_script.sh
144145 chmod u+x test_script.sh
145146 ./eessi_container.sh --verbose --container ${container} --access rw --overlay-tool unionfs --mode run /test/test_script.sh 2>&1 | tee ${outfile}
146147 for pattern in "/cvmfs/software.eessi.io/versions" "/cvmfs_ro/software.eessi.io/versions"; do
147- grep "${pattern}" $outfile || (echo "Pattern '${pattern}' not found in $outfile"; exit 1)
148+ grep "${pattern}" ${ outfile} || (echo "Pattern '${pattern}' not found in ${ outfile} "; exit 1)
148149 done
149150
150151 else
You can’t perform that action at this time.
0 commit comments