Skip to content

Commit

Permalink
fix(generate): remove /run tmpfs mount when testing read-write setup
Browse files Browse the repository at this point in the history
This is the typical setup users will have from older time, so test that
rather than mixed setup with /run on tmpfs and /tmp not.

See WeblateOrg/docker#2579
  • Loading branch information
nijel committed Aug 26, 2024
1 parent 57435d5 commit 29cdeed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-generate
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ EOT
done
fi
if [ "$3" = "read-write" ] ; then
sed -i -e '/- \/tmp/D' -e '/read_only: true/D' docker-compose.yml
sed -i -e '/tmpfs:/D' -e '/- \/run/D' -e '/- \/tmp/D' -e '/read_only: true/D' docker-compose.yml
else
# Allow execution in tmp
sed -i 's/- \/tmp/- \/tmp:exec/' docker-compose.yml
Expand Down

0 comments on commit 29cdeed

Please sign in to comment.