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
$
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})
||