summaryrefslogtreecommitdiffstats
path: root/tests/expected/fdisk/oddinput
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/expected/fdisk/oddinput7
-rw-r--r--tests/expected/fdisk/oddinput.err4
-rw-r--r--tests/expected/fdisk/oddinput.toosmall1
3 files changed, 12 insertions, 0 deletions
diff --git a/tests/expected/fdisk/oddinput b/tests/expected/fdisk/oddinput
new file mode 100644
index 0000000..3391422
--- /dev/null
+++ b/tests/expected/fdisk/oddinput
@@ -0,0 +1,7 @@
+---Initialize empty image
+f1c9645dbc14efddc7d8a322685f26eb oddinput.img
+---Empty image listing
+Disk testimage: 10 MiB, 10485760 bytes, 20480 sectors
+Units: cylinders of 16065 * 512 = 8225280 bytes
+Sector size (logical/physical): 512 bytes / 512 bytes
+I/O size (minimum/optimal): 512 bytes / 512 bytes
diff --git a/tests/expected/fdisk/oddinput.err b/tests/expected/fdisk/oddinput.err
new file mode 100644
index 0000000..c39b607
--- /dev/null
+++ b/tests/expected/fdisk/oddinput.err
@@ -0,0 +1,4 @@
+---Nonexistent file
+fdisk: cannot open _a_file_that_does_not_exist_: ENOENT
+---Too small file
+fdisk: cannot open oddinput.toosmall: EINVAL
diff --git a/tests/expected/fdisk/oddinput.toosmall b/tests/expected/fdisk/oddinput.toosmall
new file mode 100644
index 0000000..06c75ed
--- /dev/null
+++ b/tests/expected/fdisk/oddinput.toosmall
@@ -0,0 +1 @@
+This file is too small