summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-07-05 15:40:05 +0000
committerSteve Peters <steve@fisharerojo.org>2006-07-05 15:40:05 +0000
commit0b40f9f8cf631862db10aed9706454c7518fef19 (patch)
treed9d677eec7a90ce5e1f167f2c7e864bdf169e51b /lib
parenta53dbfbbdde69373524fb559de5b51e406df6721 (diff)
downloadperl-0b40f9f8cf631862db10aed9706454c7518fef19.tar.gz
Skip lib/Memoize/t/tie_ndbm.t if $TMP is not writable.
p4raw-id: //depot/perl@28485
Diffstat (limited to 'lib')
-rw-r--r--lib/Memoize/t/tie_ndbm.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Memoize/t/tie_ndbm.t b/lib/Memoize/t/tie_ndbm.t
index a328bc01bb..e9b0379156 100644
--- a/lib/Memoize/t/tie_ndbm.t
+++ b/lib/Memoize/t/tie_ndbm.t
@@ -26,6 +26,11 @@ if ($@) {
exit 0;
}
+if (! -w $ENV{TMP}) {
+ print "1..0\n";
+ exit 0;
+}
+
print "1..4\n";
$file = "md$$";