Browse files

Increase coverage.

  • Loading branch information...
1 parent 834b7cd commit 87c2b985c38efbe8a157bbe5fcf24ad022df394f @g2p committed Apr 10, 2013
Showing with 15 additions and 1 deletion.
  1. +15 −1 run-tests.inside
View
16 run-tests.inside
@@ -18,7 +18,8 @@ function blocks {
! blocks
-sgdisk --new=1:1M:+127M --new=2:129M:+127M -p /dev/ubda
+sgdisk --new=1:1M:+127M --new=2:129M:+127M \
+ --new=3:256M:+128M --new=4:384M:+128M -p /dev/ubda
udevadm settle
#ls -Artlh /dev/block
@@ -34,6 +35,19 @@ blocks to-lvm /dev/ubda1
blocks to-bcache /dev/ubda2
! blocks to-bcache /dev/ubda2
+# Can't shrink an unrecognised partition
+! blocks to-bcache /dev/ubda4
+#mkfs.btrfs /dev/ubda3
+# Fails, but _BHRfS_M does appear in the strace, what drugs is blkid on?
+#strace -s1024 -f blkid -p -c /dev/null /dev/ubda3
+# ReiserFS has too much interactivity
+#mkfs.reiserfs /dev/ubda3
+mkfs.nilfs2 -B 1024 /dev/ubda3
+blkid /dev/ubda3
+
+blocks to-bcache /dev/ubda4
+! blocks to-bcache /dev/ubda4
+
vgchange -ay
#ls -Artlh /dev/mapper

0 comments on commit 87c2b98

Please sign in to comment.