00gettext.t 772 B

123456789101112131415161718192021222324252627282930313233
  1. # -*- perl -*-
  2. # Test if module loads ok.
  3. # Before `make install' is performed this script should be runnable with
  4. # `make test'. After `make install' it should work as `perl test.pl'
  5. ######################### We start with some black magic to print on failure.
  6. # Change 1..1 below to 1..last_test_to_print .
  7. # (It may become useful if the test is moved to ./t subdirectory.)
  8. BEGIN { $| = 1; print "1..1\n"; }
  9. END {print "not ok 1\n" unless $loaded;}
  10. use Locale::Messages;
  11. $loaded = 1;
  12. print "ok 1\n";
  13. ######################### End of black magic.
  14. __END__
  15. Local Variables:
  16. mode: perl
  17. perl-indent-level: 4
  18. perl-continued-statement-offset: 4
  19. perl-continued-brace-offset: 0
  20. perl-brace-offset: -4
  21. perl-brace-imaginary-offset: 0
  22. perl-label-offset: -4
  23. tab-width: 4
  24. End: