| 1 | use Test::More qw(no_plan); |
| 2 | use strict; |
| 3 | use warnings; |
| 4 | use autobox::Core; |
| 5 | |
| 6 | use Config; |
| 7 | SKIP: { |
| 8 | skip("crypt not defined on this system", 1) unless $Config{d_crypt}; |
| 9 | skip("crypt redefined to use a different algorithm", 1) if $Config{osname} eq 'openbsd'; |
| 10 | is 'PLAINTEXT'->crypt('SALT'), 'SAPH9ylAEPe62'; |
| 11 | } |