summaryrefslogtreecommitdiff
path: root/lib/filetest.t
diff options
context:
space:
mode:
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>2013-03-01 15:48:11 +0000
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>2013-03-01 16:04:43 +0000
commitd04589db35f09d1a2397c7ca43216163acba7a2d (patch)
treeb881bdb9ab5660d4ddba815b4a22c02cabf434df /lib/filetest.t
parent33821f2f1514a9813696be8d26217081cabbf062 (diff)
downloadperl-d04589db35f09d1a2397c7ca43216163acba7a2d.tar.gz
Skip chflags tests in filetests.t on dragonflybsd
DragonflyBSD's file tests don't seem to be chflags-aware: $ touch foo $ if [ -w foo ]; then echo "Yes"; fi Yes $ chflags uchg foo $ if [ -w foo ]; then echo "Yes"; fi Yes versus FreeBSD: $ touch foo $ if [ -w foo ]; then echo "Yes"; fi Yes $ chflags uchg foo $ if [ -w foo ]; then echo "Yes"; fi $
Diffstat (limited to 'lib/filetest.t')
-rw-r--r--lib/filetest.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/filetest.t b/lib/filetest.t
index 98a19bdf5f..5088611731 100644
--- a/lib/filetest.t
+++ b/lib/filetest.t
@@ -57,6 +57,7 @@ SKIP: {
my $chflags = "/usr/bin/chflags";
my $tstfile = "filetest.tst";
skip("No $chflags available", 4) if !-x $chflags;
+ skip("Dragonfly filetests seem non-chflags aware", 4) if $^O eq 'dragonfly';
my $skip_eff_user_tests = (!$Config{d_setreuid} && !$Config{d_setresuid})
||