From 5dced3d1b3deca80e01415a2e35dc7972dcbfae7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 11:25:10 +0200 Subject: Adding upstream version 1.47.0. Signed-off-by: Daniel Baumann --- tests/d_xattr_edits/expect | 55 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 tests/d_xattr_edits/expect (limited to 'tests/d_xattr_edits/expect') diff --git a/tests/d_xattr_edits/expect b/tests/d_xattr_edits/expect new file mode 100644 index 0000000..6a4d912 --- /dev/null +++ b/tests/d_xattr_edits/expect @@ -0,0 +1,55 @@ +debugfs edit extended attributes +mke2fs -Fq -b 1024 test.img 512 +Exit status is 0 +ea_set / user.joe smith +Exit status is 0 +ea_set / user.moo FEE_FIE_FOE_FUMMMMMM +Exit status is 0 +ea_list / +Extended attributes: + user.joe (5) = "smith" + user.moo (20) = "FEE_FIE_FOE_FUMMMMMM" +Exit status is 0 +ea_get / user.moo +user.moo (20) = "FEE_FIE_FOE_FUMMMMMM" + +Exit status is 0 +ea_get / nosuchea +ea_get: Extended attribute key not found while getting extended attribute +Exit status is 0 +ea_rm / user.moo +Exit status is 0 +ea_rm / nosuchea +Exit status is 0 +ea_list / +Extended attributes: + user.joe (5) = "smith" +Exit status is 0 +ea_get / user.moo +ea_get: Extended attribute key not found while getting extended attribute +Exit status is 0 +ea_rm / user.joe +Exit status is 0 +ea_list / +Exit status is 0 +ea_set -f d_xattr_edits.tmp / user.file_based_xattr +Exit status is 0 +ea_list / +Extended attributes: + user.file_based_xattr (108) +Exit status is 0 +ea_get / user.file_based_xattr +user.file_based_xattr (108) = "12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567\n" + +Exit status is 0 +ea_get -f d_xattr_edits.ver.tmp / user.file_based_xattr +Exit status is 0 +Compare big attribute +e2fsck -yf -N test_filesys +Pass 1: Checking inodes, blocks, and sizes +Pass 2: Checking directory structure +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Pass 5: Checking group summary information +test_filesys: 11/64 files (0.0% non-contiguous), 37/512 blocks +Exit status is 0 -- cgit v1.2.3