From: Theodore Ts'o Date: Sat, 15 Mar 2003 09:04:11 +0000 (-0500) Subject: f_dup_de: Added test case provided from Debian bug report #176814 X-Git-Tag: E2FSPROGS-1_33-WIP-0314~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc4066dabe7bade264c30fec920ef431b0bd730a;p=thirdparty%2Fe2fsprogs.git f_dup_de: Added test case provided from Debian bug report #176814 --- diff --git a/tests/ChangeLog b/tests/ChangeLog index e25843d8a..b55c16047 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2003-03-15 Theodore Ts'o + + * f_dup_de: Added test case provided from Debian bug report #176814 + 2003-03-06 Theodore Tso * run_e2fsck, defaults/e_script: Solaris doesn't support "tr -d \r", diff --git a/tests/f_dup_de/expect.1 b/tests/f_dup_de/expect.1 new file mode 100644 index 000000000..78545cc1f --- /dev/null +++ b/tests/f_dup_de/expect.1 @@ -0,0 +1,28 @@ +Pass 1: Checking inodes, blocks, and sizes +Pass 2: Checking directory structure +Duplicate entry 'mailcap.dpkg-old' found. + Marking /etc (12) to be rebuilt. + +Pass 3: Checking directory connectivity +Pass 3A: Optimizing directories +Duplicate entry 'mailcap.dpkg-old' in /etc (12) found. Clear? yes + +Duplicate entry 'fstab' in /etc (12) found. Clear? yes + +Duplicate entry 'localtime' in /etc (12) found. Clear? yes + +Duplicate entry 'resolv.conf' in /etc (12) found. Clear? yes + +Duplicate entry 'usb.permissions' in /etc (12) found. Clear? yes + +Duplicate entry 'modules.conf.old' in /etc (12) found. Clear? yes + +Entry 'modules.conf.old' in /etc (12) has a non-unique filename. +Rename to modules.conf.o~0? yes + +Pass 4: Checking reference counts +Pass 5: Checking group summary information + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 18/2048 files (5.6% non-contiguous), 325/330 blocks +Exit status is 1 diff --git a/tests/f_dup_de/expect.2 b/tests/f_dup_de/expect.2 new file mode 100644 index 000000000..e3accc66b --- /dev/null +++ b/tests/f_dup_de/expect.2 @@ -0,0 +1,7 @@ +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: 18/2048 files (5.6% non-contiguous), 325/330 blocks +Exit status is 0 diff --git a/tests/f_dup_de/image.gz b/tests/f_dup_de/image.gz new file mode 100644 index 000000000..152c59115 Binary files /dev/null and b/tests/f_dup_de/image.gz differ diff --git a/tests/f_dup_de/name b/tests/f_dup_de/name new file mode 100644 index 000000000..bd90734bf --- /dev/null +++ b/tests/f_dup_de/name @@ -0,0 +1 @@ +duplicate directory entries