hanwen / go-fuse

FUSE bindings for Go
Other
2.04k stars 327 forks source link

[v2 API] xfstests generic/088 fails because mode forced to 0644 #342

Closed rfjakob closed 4 years ago

rfjakob commented 4 years ago

Fixed via https://review.gerrithub.io/c/hanwen/go-fuse/+/478863 . Depends on the fixes for generic/087, so pushed to the topic branch xfstests087.

$ sudo ./check-loopback generic/088
fuse-xfstests gocryptfs-2018-08-18/67408ac7
Thu 26 Dec 2019 03:48:47 PM UTC

loopback is /usr/local/bin/loopback
FSTYP         -- fuse.loopback
PLATFORM      -- Linux/x86_64 brikett 5.3.12-300.fc31.x86_64
MKFS_OPTIONS  -- /var/tmp/fuse-xfstests/check-loopback/scratchdev
MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /var/tmp/fuse-xfstests/check-loopback/scratchdev /var/tmp/fuse-xfstests/check-loopback/scratchdir

generic/088 0s ... - output mismatch (see /home/jakob.donotbackup/code/fuse-xfstests/results//generic/088.out.bad)
    --- tests/generic/088.out   2018-06-27 21:12:13.629235005 +0200
    +++ /home/jakob.donotbackup/code/fuse-xfstests/results//generic/088.out.bad 2019-12-26 16:48:48.611521555 +0100
    @@ -1,4 +1,5 @@
     QA output created by 088
    +-rw-r--r--. 1 500 users 0 Dec 26 16:48 TEST_DIR/t_access
     access(TEST_DIR/t_access, 0) returns 0
     access(TEST_DIR/t_access, R_OK) returns 0
     access(TEST_DIR/t_access, W_OK) returns 0
    ...
    (Run 'diff -u tests/generic/088.out /home/jakob.donotbackup/code/fuse-xfstests/results//generic/088.out.bad'  to see the entire diff)
Ran: generic/088
Failures: generic/088
Failed 1 of 1 tests

Runtime was 1 seconds, exit code 1
rfjakob commented 4 years ago

PS: fuse-xfstests is now run by Travis. Full results are here: https://travis-ci.com/rfjakob/fuse-xfstests/jobs/270125594

Edit: latest run is always here: https://travis-ci.com/rfjakob/fuse-xfstests

rfjakob commented 4 years ago

Merged as https://github.com/hanwen/go-fuse/commit/32ac1d91cfd682555454193e3744171f01a4a369