summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Green <Paul.Green@stratus.com>2002-01-16 01:42:00 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-16 16:55:52 +0000
commitdcd1d1bf48d55e55c493414d8a36c4c436f10504 (patch)
treeaaadec9314473838ef5c717084b9f974c4bfee8d
parent0e7ca5c94a5a71c5166f79526a9345aeb239711e (diff)
downloadperl-dcd1d1bf48d55e55c493414d8a36c4c436f10504.tar.gz
Fix crypt.t and fs.t tests
Message-Id: <200201161143.GAA02292@mailhub1.stratus.com> p4raw-id: //depot/perl@14304
-rwxr-xr-xt/io/fs.t2
-rw-r--r--t/op/crypt.t5
2 files changed, 5 insertions, 2 deletions
diff --git a/t/io/fs.t b/t/io/fs.t
index 7331cd4e37..3eb3e0a13c 100755
--- a/t/io/fs.t
+++ b/t/io/fs.t
@@ -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}";