aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-12-04 16:17:03 -0600
committerRob Landley <rob@landley.net>2015-12-04 16:17:03 -0600
commit2a3ac1459f857f17e1c273c49a8df000b14fc8db (patch)
treebd0013252d927e1f7e6a97f6dfcc4e51d416e11c /tests
parent88d207790e277aa864e6ed114be1c6e59d8ee3f4 (diff)
downloadtoybox-2a3ac1459f857f17e1c273c49a8df000b14fc8db.tar.gz
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).
Diffstat (limited to 'tests')
-rwxr-xr-xtests/blkid.test4
1 files changed, 2 insertions, 2 deletions
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' \