From 464df1d5e5ab1322e2dd0a7796939fff1aeefa9a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 17:49:25 +0200 Subject: Adding upstream version 1.47.0. Signed-off-by: Daniel Baumann --- tests/f_crashdisk/expect.1 | 17 +++++++++++++++++ tests/f_crashdisk/image.gz | Bin 0 -> 1044 bytes tests/f_crashdisk/name | 1 + tests/f_crashdisk/script | 2 ++ 4 files changed, 20 insertions(+) create mode 100644 tests/f_crashdisk/expect.1 create mode 100644 tests/f_crashdisk/image.gz create mode 100644 tests/f_crashdisk/name create mode 100644 tests/f_crashdisk/script (limited to 'tests/f_crashdisk') diff --git a/tests/f_crashdisk/expect.1 b/tests/f_crashdisk/expect.1 new file mode 100644 index 0000000..6898030 --- /dev/null +++ b/tests/f_crashdisk/expect.1 @@ -0,0 +1,17 @@ +ext2fs_open2: The ext2 superblock is corrupt +../e2fsck/e2fsck: Superblock invalid, trying backup blocks... +../e2fsck/e2fsck: The ext2 superblock is corrupt while trying to open test.img +../e2fsck/e2fsck: Trying to load superblock despite errors... +ext2fs_open2: The ext2 superblock is corrupt +../e2fsck/e2fsck: Superblock invalid, trying backup blocks... +../e2fsck/e2fsck: The ext2 superblock is corrupt while trying to open test.img + +The superblock could not be read or does not describe a valid ext2/ext3/ext4 +filesystem. If the device is valid and it really contains an ext2/ext3/ext4 +filesystem (and not swap or ufs or something else), then the superblock +is corrupt, and you might try running e2fsck with an alternate superblock: + e2fsck -b 8193 + or + e2fsck -b 32768 + +Exit status is 8 diff --git a/tests/f_crashdisk/image.gz b/tests/f_crashdisk/image.gz new file mode 100644 index 0000000..060e7a0 Binary files /dev/null and b/tests/f_crashdisk/image.gz differ diff --git a/tests/f_crashdisk/name b/tests/f_crashdisk/name new file mode 100644 index 0000000..2b28207 --- /dev/null +++ b/tests/f_crashdisk/name @@ -0,0 +1 @@ +superblock with illegal values diff --git a/tests/f_crashdisk/script b/tests/f_crashdisk/script new file mode 100644 index 0000000..8ab2b9c --- /dev/null +++ b/tests/f_crashdisk/script @@ -0,0 +1,2 @@ +ONE_PASS_ONLY="true" +. $cmd_dir/run_e2fsck -- cgit v1.2.3