Skip to content

Instantly share code, notes, and snippets.

@andrewosh
Created June 22, 2016 08:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewosh/10cf55625cde733782fa3c1ad4664b42 to your computer and use it in GitHub Desktop.
Save andrewosh/10cf55625cde733782fa3c1ad4664b42 to your computer and use it in GitHub Desktop.
libfuse test output
1 [create] check_nlink() - nlink 0 instead of 1
2 [create+unlink] test_create_unlink() - write: No such file or directory
3 [mknod] check_nlink() - nlink 0 instead of 1
4 [symlink] check_nlink() - nlink 0 instead of 1
5 [link] check_nlink() - nlink 0 instead of 1
6 [link-unlink-link] check_nlink() - nlink 0 instead of 1
7 [mkfifo] test_mkfifo() - mkfifo: Function not implemented
8 [mkdir] check_nlink() - nlink 0 instead of 2
8 [mkdir] check_dir_contents() - missing entry <.>
8 [mkdir] check_dir_contents() - missing entry <..>
9 [rename file] check_nlink() - nlink 0 instead of 1
10 [rename dir] check_nlink() - nlink 0 instead of 1
11 [utime] check_nlink() - nlink 0 instead of 1
12 [truncate(0)] check_nlink() - nlink 0 instead of 1
13 [truncate(13)] check_nlink() - nlink 0 instead of 1
14 [truncate(26)] check_nlink() - nlink 0 instead of 1
15 [truncate(126)] check_nlink() - nlink 0 instead of 1
16 [ftruncate(0) mode: 0600] check_nlink() - nlink 0 instead of 1
17 [ftruncate(13) mode: 0600] check_nlink() - nlink 0 instead of 1
18 [ftruncate(26) mode: 0600] check_nlink() - nlink 0 instead of 1
19 [ftruncate(126) mode: 0600] check_nlink() - nlink 0 instead of 1
20 [ftruncate(0) mode: 0400] check_nlink() - nlink 0 instead of 1
21 [ftruncate(0) mode: 0200] check_nlink() - nlink 0 instead of 1
22 [ftruncate(0) mode: 0000] check_nlink() - nlink 0 instead of 1
23 [open(-, O_RDONLY, 0000)] OK
24 [open(+, O_RDONLY, 0000)] check_nlink() - nlink 0 instead of 1
25 [open(+, O_RDWR, 0000)] check_nlink() - nlink 0 instead of 1
26 [open(+, O_WRONLY, 0000)] check_nlink() - nlink 0 instead of 1
27 [open(-, O_RDWR | O_CREAT, 0600)] check_nlink() - nlink 0 instead of 1
28 [open(+, O_RDWR | O_CREAT, 0600)] check_nlink() - nlink 0 instead of 1
29 [open(-, O_RDWR | O_CREAT | O_TRUNC, 0600)] check_nlink() - nlink 0 instead of 1
30 [open(+, O_RDWR | O_CREAT | O_TRUNC, 0600)] check_nlink() - nlink 0 instead of 1
31 [open(-, O_RDONLY | O_CREAT, 0600)] check_nlink() - nlink 0 instead of 1
31 [open(-, O_RDONLY | O_CREAT, 0600)] do_test_open() - read: Operation not permitted
32 [open(-, O_RDONLY | O_CREAT, 0400)] check_nlink() - nlink 0 instead of 1
32 [open(-, O_RDONLY | O_CREAT, 0400)] do_test_open() - read: Operation not permitted
33 [open(-, O_RDONLY | O_CREAT, 0200)] check_nlink() - nlink 0 instead of 1
33 [open(-, O_RDONLY | O_CREAT, 0200)] do_test_open() - read: Operation not permitted
34 [open(-, O_RDONLY | O_CREAT, 0000)] check_nlink() - nlink 0 instead of 1
34 [open(-, O_RDONLY | O_CREAT, 0000)] do_test_open() - read: Operation not permitted
35 [open(-, O_WRONLY | O_CREAT, 0600)] check_nlink() - nlink 0 instead of 1
36 [open(-, O_WRONLY | O_CREAT, 0400)] check_nlink() - nlink 0 instead of 1
37 [open(-, O_WRONLY | O_CREAT, 0200)] check_nlink() - nlink 0 instead of 1
38 [open(-, O_WRONLY | O_CREAT, 0000)] check_nlink() - nlink 0 instead of 1
39 [open(-, O_RDWR | O_CREAT, 0400)] check_nlink() - nlink 0 instead of 1
40 [open(-, O_RDWR | O_CREAT, 0200)] check_nlink() - nlink 0 instead of 1
40 [open(-, O_RDWR | O_CREAT, 0200)] do_test_open() - read: Operation not permitted
41 [open(-, O_RDWR | O_CREAT, 0000)] check_nlink() - nlink 0 instead of 1
41 [open(-, O_RDWR | O_CREAT, 0000)] do_test_open() - read: Operation not permitted
42 [open(-, O_RDWR | O_CREAT | O_EXCL, 0600)] check_nlink() - nlink 0 instead of 1
43 [open(+, O_RDWR | O_CREAT | O_EXCL, 0600)] check_nlink() - nlink 0 instead of 1
44 [open(-, O_RDWR | O_CREAT | O_EXCL, 0000)] check_nlink() - nlink 0 instead of 1
44 [open(-, O_RDWR | O_CREAT | O_EXCL, 0000)] do_test_open() - read: Operation not permitted
45 [open(+, O_RDWR | O_CREAT | O_EXCL, 0000)] check_nlink() - nlink 0 instead of 1
46 [open_acc(O_RDONLY) mode: 0600 message: 'Success'] check_nlink() - nlink 0 instead of 1
47 [open_acc(O_WRONLY) mode: 0600 message: 'Success'] check_nlink() - nlink 0 instead of 1
48 [open_acc(O_RDWR) mode: 0600 message: 'Success'] check_nlink() - nlink 0 instead of 1
49 [open_acc(O_RDONLY) mode: 0400 message: 'Success'] check_nlink() - nlink 0 instead of 1
50 [open_acc(O_RDONLY | O_TRUNC) mode: 0400 message: 'Permission denied'] check_nlink() - nlink 0 instead of 1
51 [open_acc(O_WRONLY) mode: 0400 message: 'Permission denied'] check_nlink() - nlink 0 instead of 1
52 [open_acc(O_RDWR) mode: 0400 message: 'Permission denied'] check_nlink() - nlink 0 instead of 1
53 [open_acc(O_RDONLY) mode: 0200 message: 'Permission denied'] check_nlink() - nlink 0 instead of 1
54 [open_acc(O_WRONLY) mode: 0200 message: 'Success'] check_nlink() - nlink 0 instead of 1
55 [open_acc(O_RDWR) mode: 0200 message: 'Permission denied'] check_nlink() - nlink 0 instead of 1
56 [open_acc(O_RDONLY) mode: 0000 message: 'Permission denied'] check_nlink() - nlink 0 instead of 1
57 [open_acc(O_WRONLY) mode: 0000 message: 'Permission denied'] check_nlink() - nlink 0 instead of 1
58 [open_acc(O_RDWR) mode: 0000 message: 'Permission denied'] check_nlink() - nlink 0 instead of 1
59 [open(O_CREAT) in read-only directory] OK
60 [open(O_CREAT | O_EXCL) in read-only directory] OK
61 [open(O_CREAT | O_WRONLY) in read-only directory] OK
62 [open(O_CREAT | O_TRUNC) in read-only directory] OK
57 tests failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment