From 2a3ac1459f857f17e1c273c49a8df000b14fc8db Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 4 Dec 2015 16:17:03 -0600 Subject: Tom Marshall reported that blkid was handling ext2 wrong. Even though ext2 has a comment that it has to be at the start, I added swap to the start of the array (oops). The test suite was also wrong (it was matching the _incorrect_ output). --- tests/blkid.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/blkid.test b/tests/blkid.test index 3f676df8..25ba9d11 100755 --- a/tests/blkid.test +++ b/tests/blkid.test @@ -16,10 +16,10 @@ testing "blkid ext2" 'bzcat "$BDIR"/ext2.bz2 | blkid -' \ '-: LABEL="myext2" UUID="e59093ba-4135-4fdb-bcc4-f20beae4dfaf" TYPE="ext2"\n' \ "" "" testing "blkid ext3" 'bzcat "$BDIR"/ext3.bz2 | blkid -' \ - '-: LABEL="myext3" UUID="79d1c877-1a0f-4e7d-b21d-fc32ae3ef101" TYPE="ext2"\n' \ + '-: LABEL="myext3" UUID="79d1c877-1a0f-4e7d-b21d-fc32ae3ef101" TYPE="ext3"\n' \ "" "" testing "blkid ext4" 'bzcat "$BDIR"/ext4.bz2 | blkid -' \ - '-: LABEL="myext4" UUID="dc4b7c00-c0c0-4600-af7e-0335f09770fa" TYPE="ext2"\n' \ + '-: LABEL="myext4" UUID="dc4b7c00-c0c0-4600-af7e-0335f09770fa" TYPE="ext4"\n' \ "" "" testing "blkid f2fs" 'bzcat "$BDIR"/f2fs.bz2 | blkid -' \ '-: LABEL="" UUID="b53d3619-c204-4c0b-8504-36363578491c" TYPE="f2fs"\n' \ -- cgit v1.2.3