summaryrefslogtreecommitdiff
path: root/t/op/quotemeta.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/quotemeta.t')
-rwxr-xr-xt/op/quotemeta.t8
1 files changed, 7 insertions, 1 deletions
diff --git a/t/op/quotemeta.t b/t/op/quotemeta.t
index 0217a67a93..98265a88d9 100755
--- a/t/op/quotemeta.t
+++ b/t/op/quotemeta.t
@@ -1,8 +1,14 @@
#!./perl
+BEGIN {
+ chdir 't' if -d 't';
+ @INC = '../lib' if -d '../lib';
+ require Config; import Config;
+}
+
print "1..15\n";
-if ($^O eq 'os390' or $^O eq 'vmesa') { # EBCDIC.
+if ($Config{ebcdic} eq 'define') {
$_=join "", map chr($_), 129..233;
# 105 characters - 52 letters = 53 backslashes