test-mbchk.in 1005 B

12345678910111213141516171819202122232425262728293031
  1. #!@SHELL@
  2. # Test if the kernel image complies with the multiboot specification.
  3. # Copyright (C) 2006, 2007 Free Software Foundation, Inc.
  4. # This program is free software; you can redistribute it and/or modify it
  5. # under the terms of the GNU General Public License as published by the
  6. # Free Software Foundation; either version 2, or (at your option) any later
  7. # version.
  8. #
  9. # This program is distributed in the hope that it will be useful, but
  10. # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  11. # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  12. # for more details.
  13. #
  14. # You should have received a copy of the GNU General Public License along
  15. # with this program; if not, write to the Free Software Foundation, Inc.,
  16. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  17. if mbchk --version > /dev/null 2>&1
  18. then mbchk gnumach
  19. else
  20. # `mbchk' is not available -- ignore this test.
  21. exit 77
  22. fi
  23. # Local Variables:
  24. # mode: shell-script
  25. # End: