-
Notifications
You must be signed in to change notification settings - Fork 4
/
020.out
66 lines (57 loc) · 2.28 KB
/
020.out
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
QA output created by 020
*** list non-existant file
*** print attributes
getfattr: <TESTFILE>: No such file or directory
!!! error return
*** list empty file
*** print attributes
*** query non-existant attribute
attr_get: No data available
Could not get "nonexistant" for <TESTFILE>
*** one attribute
Attribute "fish" set to a 5 byte value for <TESTFILE>:
fish
*** print attributes
# file: <TESTFILE>
user.fish="fish\012"
*** replace attribute
Attribute "fish" set to a 6 byte value for <TESTFILE>:
fish3
*** print attributes
# file: <TESTFILE>
user.fish="fish3\012"
*** add attribute
Attribute "snrub" set to a 6 byte value for <TESTFILE>:
fish2
*** print attributes
# file: <TESTFILE>
user.fish="fish3\012"
user.snrub="fish2\012"
*** remove attribute
*** print attributes
# file: <TESTFILE>
user.snrub="fish2\012"
*** add lots of attributes
*** check
*** 1000 attribute(s)
*** remove lots of attributes
*** print attributes
# file: <TESTFILE>
user.snrub="fish2\012"
*** really long value
0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0200000 0a
0200001
*** set/get/remove really long names (expect failure)
attr_set: Invalid argument
Could not set "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" for <TESTFILE>
attr_get: Invalid argument
Could not get "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" for <TESTFILE>
attr_remove: Invalid argument
Could not remove "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" for <TESTFILE>
*** check final
*** print attributes
# file: <TESTFILE>
user.snrub="fish2\012"
*** delete