mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-23 14:30:46 +02:00
ci: fail the posix workflow when the mount point is not a FUSE mount
The file write/read check passes on the plain directory created before weed mount, so a dead mount let the whole suite grade the local disk.
This commit is contained in:
1 parent
4016dc295d
commit
af924a91d0
1 file changed
+5
-2
@@ -285,12 +285,15 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check if this is actually a FUSE mount
|
||||
# Check if this is actually a FUSE mount — the plain directory created
|
||||
# above passes the file test, so without this the suite can run
|
||||
# against the local disk and report a pass it never earned
|
||||
if mount | grep -q "$SEAWEEDFS_MOUNT_POINT"; then
|
||||
echo "✅ FUSE mount detected:"
|
||||
mount | grep "$SEAWEEDFS_MOUNT_POINT"
|
||||
else
|
||||
echo "⚠️ Warning: Mount point not found in mount table"
|
||||
echo "❌ Mount point not found in mount table - refusing to test a local directory"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Run POSIX compliance tests
|
||||
|
||||
Reference in new issue
Block a user