mkfs.minix.tests 496 B

12345678910111213141516171819202122
  1. #!/bin/sh
  2. # mkfs.minix tests.
  3. # Copyright 2007 by Denys Vlasenko
  4. # Licensed under GPL v2, see file LICENSE for details.
  5. . ./testing.sh
  6. # testing "test name" "options" "expected result" "file input" "stdin"
  7. testing "mkfs.minix" \
  8. "dd if=/dev/zero of=input bs=1k count=1024 2>/dev/null; mkfs.minix input; md5sum <input" \
  9. "352 inodes\n"\
  10. "1024 blocks\n"\
  11. "Firstdatazone=15 (15)\n"\
  12. "Zonesize=1024\n"\
  13. "Maxsize=268966912\n"\
  14. "4f35f7afeba07d56055bed1f29ae20b7 -\n" \
  15. "" \
  16. ""
  17. exit $FAILCOUNT