mirror of
https://github.com/fuse-friends/fuse-native
synced 2024-10-27 18:34:01 +00:00
add link tests
This commit is contained in:
parent
4ad285fb91
commit
dc50eb6005
2
test/fixtures/stat.js
vendored
2
test/fixtures/stat.js
vendored
@ -4,7 +4,7 @@ module.exports = function (st) {
|
||||
atime: st.atime || new Date(),
|
||||
ctime: st.ctime || new Date(),
|
||||
size: st.size !== undefined ? st.size : 0,
|
||||
mode: st.mode === 'dir' ? 16877 : (st.mode === 'file' ? 33188 : st.mode),
|
||||
mode: st.mode === 'dir' ? 16877 : (st.mode === 'file' ? 33188 : (st.mode === 'link' ? 41453 : st.mode)),
|
||||
uid: st.uid !== undefined ? st.uid : process.getuid(),
|
||||
gid: st.gid !== undefined ? st.gid : process.getgid()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user