Skip to content

Commit 87461aa

Browse files
committed
tests: make transparent proxy test Linux specific
1 parent 64c4b5e commit 87461aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/transparent_proxy_test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ sub main {
9393

9494
my $config = make_config($proxy_port, $httpd_port);
9595

96-
unless ($> == 0) {
97-
print STDERR "This tests requires root privileges\n";
96+
unless ($> == 0 and $^O eq 'linux') {
97+
print STDERR "This test requires Linux and root privileges\n";
9898
exit 77;
9999
}
100100

0 commit comments

Comments
 (0)