diff options
author | Bjørn Mork <bjorn@mork.no> | 2015-05-15 10:20:47 +0200 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2015-05-15 10:20:47 +0200 |
commit | 73b16af8feec390afbabd9356d6e5e83c0390838 (patch) | |
tree | 3730020ba2f9caeb9d7815a975af51830b51ce11 /testsuite/mkfs.minix.tests |
busybox: imported from http://www.busybox.net/downloads/busybox-1.13.3.tar.bz2busybox-1.13.3
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Diffstat (limited to 'testsuite/mkfs.minix.tests')
-rwxr-xr-x | testsuite/mkfs.minix.tests | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testsuite/mkfs.minix.tests b/testsuite/mkfs.minix.tests new file mode 100755 index 0000000..90df931 --- /dev/null +++ b/testsuite/mkfs.minix.tests @@ -0,0 +1,22 @@ +#!/bin/sh + +# mkfs.minix tests. +# Copyright 2007 by Denys Vlasenko +# Licensed under GPL v2, see file LICENSE for details. + +. testing.sh + +# testing "test name" "options" "expected result" "file input" "stdin" + +testing "mkfs.minix" \ + "dd if=/dev/zero of=input bs=1k count=1024 2>/dev/null; mkfs.minix input; md5sum <input" \ +"352 inodes\n"\ +"1024 blocks\n"\ +"Firstdatazone=15 (15)\n"\ +"Zonesize=1024\n"\ +"Maxsize=268966912\n"\ +"4f35f7afeba07d56055bed1f29ae20b7 -\n" \ + "" \ + "" + +exit $FAILCOUNT |