Skip to content

Commit 2bbadca

Browse files
committed
fix checking for use of '--overlay-tool unionfs'
1 parent c9b81ba commit 2bbadca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test_eessi_container_script.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)