diff options
author | Paul Green <Paul.Green@stratus.com> | 2002-01-16 01:42:00 -0500 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-01-16 16:55:52 +0000 |
commit | dcd1d1bf48d55e55c493414d8a36c4c436f10504 (patch) | |
tree | aaadec9314473838ef5c717084b9f974c4bfee8d | |
parent | 0e7ca5c94a5a71c5166f79526a9345aeb239711e (diff) | |
download | perl-dcd1d1bf48d55e55c493414d8a36c4c436f10504.tar.gz |
Fix crypt.t and fs.t tests
Message-Id: <200201161143.GAA02292@mailhub1.stratus.com>
p4raw-id: //depot/perl@14304
-rwxr-xr-x | t/io/fs.t | 2 | ||||
-rw-r--r-- | t/op/crypt.t | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -239,7 +239,7 @@ close(IOFSCOM); SKIP: { eval { truncate "Iofs.tmp", 5; }; - skip("no truncate - $@", 4) if $@; + skip("no truncate - $@", 6) if $@; is(-s "Iofs.tmp", 5, "truncation to five bytes"); diff --git a/t/op/crypt.t b/t/op/crypt.t index d11a2a08b7..27c878f1bd 100644 --- a/t/op/crypt.t +++ b/t/op/crypt.t @@ -28,7 +28,10 @@ BEGIN { # bets, given alternative encryption/hashing schemes like MD5, # C2 (or higher) security schemes, and non-UNIX platforms. -ok(substr(crypt("ab", "cd"), 2) ne substr(crypt("ab", "ce"), 2), "salt makes a difference"); +SKIP: { + skip ("VOS crypt ignores salt.", 1) if ($^O eq 'vos'); + ok(substr(crypt("ab", "cd"), 2) ne substr(crypt("ab", "ce"), 2), "salt makes a difference"); +} $a = "a\xFF\x{100}"; |