xref: /aosp_15_r20/external/e2fsprogs/tests/d_xattr_edits/expect (revision 6a54128f25917bfc36a8a6e9d722c04a0b4641b6)
1*6a54128fSAndroid Build Coastguard Workerdebugfs edit extended attributes
2*6a54128fSAndroid Build Coastguard Workermke2fs -Fq -b 1024 test.img 512
3*6a54128fSAndroid Build Coastguard WorkerExit status is 0
4*6a54128fSAndroid Build Coastguard Workerea_set / user.joe smith
5*6a54128fSAndroid Build Coastguard WorkerExit status is 0
6*6a54128fSAndroid Build Coastguard Workerea_set / user.moo FEE_FIE_FOE_FUMMMMMM
7*6a54128fSAndroid Build Coastguard WorkerExit status is 0
8*6a54128fSAndroid Build Coastguard Workerea_list /
9*6a54128fSAndroid Build Coastguard WorkerExtended attributes:
10*6a54128fSAndroid Build Coastguard Worker  user.joe (5) = "smith"
11*6a54128fSAndroid Build Coastguard Worker  user.moo (20) = "FEE_FIE_FOE_FUMMMMMM"
12*6a54128fSAndroid Build Coastguard WorkerExit status is 0
13*6a54128fSAndroid Build Coastguard Workerea_get / user.moo
14*6a54128fSAndroid Build Coastguard Workeruser.moo (20) = "FEE_FIE_FOE_FUMMMMMM"
15*6a54128fSAndroid Build Coastguard Worker
16*6a54128fSAndroid Build Coastguard WorkerExit status is 0
17*6a54128fSAndroid Build Coastguard Workerea_get / nosuchea
18*6a54128fSAndroid Build Coastguard Workerea_get: Extended attribute key not found while getting extended attribute
19*6a54128fSAndroid Build Coastguard WorkerExit status is 0
20*6a54128fSAndroid Build Coastguard Workerea_rm / user.moo
21*6a54128fSAndroid Build Coastguard WorkerExit status is 0
22*6a54128fSAndroid Build Coastguard Workerea_rm / nosuchea
23*6a54128fSAndroid Build Coastguard WorkerExit status is 0
24*6a54128fSAndroid Build Coastguard Workerea_list /
25*6a54128fSAndroid Build Coastguard WorkerExtended attributes:
26*6a54128fSAndroid Build Coastguard Worker  user.joe (5) = "smith"
27*6a54128fSAndroid Build Coastguard WorkerExit status is 0
28*6a54128fSAndroid Build Coastguard Workerea_get / user.moo
29*6a54128fSAndroid Build Coastguard Workerea_get: Extended attribute key not found while getting extended attribute
30*6a54128fSAndroid Build Coastguard WorkerExit status is 0
31*6a54128fSAndroid Build Coastguard Workerea_rm / user.joe
32*6a54128fSAndroid Build Coastguard WorkerExit status is 0
33*6a54128fSAndroid Build Coastguard Workerea_list /
34*6a54128fSAndroid Build Coastguard WorkerExit status is 0
35*6a54128fSAndroid Build Coastguard Workerea_set -f d_xattr_edits.tmp / user.file_based_xattr
36*6a54128fSAndroid Build Coastguard WorkerExit status is 0
37*6a54128fSAndroid Build Coastguard Workerea_list /
38*6a54128fSAndroid Build Coastguard WorkerExtended attributes:
39*6a54128fSAndroid Build Coastguard Worker  user.file_based_xattr (108)
40*6a54128fSAndroid Build Coastguard WorkerExit status is 0
41*6a54128fSAndroid Build Coastguard Workerea_get / user.file_based_xattr
42*6a54128fSAndroid Build Coastguard Workeruser.file_based_xattr (108) = "12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567\n"
43*6a54128fSAndroid Build Coastguard Worker
44*6a54128fSAndroid Build Coastguard WorkerExit status is 0
45*6a54128fSAndroid Build Coastguard Workerea_get -f d_xattr_edits.ver.tmp / user.file_based_xattr
46*6a54128fSAndroid Build Coastguard WorkerExit status is 0
47*6a54128fSAndroid Build Coastguard WorkerCompare big attribute
48*6a54128fSAndroid Build Coastguard Workere2fsck -yf -N test_filesys
49*6a54128fSAndroid Build Coastguard WorkerPass 1: Checking inodes, blocks, and sizes
50*6a54128fSAndroid Build Coastguard WorkerPass 2: Checking directory structure
51*6a54128fSAndroid Build Coastguard WorkerPass 3: Checking directory connectivity
52*6a54128fSAndroid Build Coastguard WorkerPass 4: Checking reference counts
53*6a54128fSAndroid Build Coastguard WorkerPass 5: Checking group summary information
54*6a54128fSAndroid Build Coastguard Workertest_filesys: 11/64 files (0.0% non-contiguous), 37/512 blocks
55*6a54128fSAndroid Build Coastguard WorkerExit status is 0
56