Skip to content

Commit

Permalink
tests: make transparent proxy test Linux specific
Browse files Browse the repository at this point in the history
  • Loading branch information
dlundquist committed Dec 5, 2018
1 parent 64c4b5e commit 87461aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/transparent_proxy_test
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ sub main {

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

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

Expand Down

0 comments on commit 87461aa

Please sign in to comment.