From 997a93efbdcbbaeed517e0bdc5283e9d8b31f422 Mon Sep 17 00:00:00 2001 From: Fred Barclay Date: Wed, 24 May 2017 14:38:01 -0500 Subject: strip trailing whitespace from test/ --- test/filters/caps2.profile | 2 +- test/filters/caps3.profile | 2 +- test/filters/fseccomp.exp | 1 - test/filters/seccomp-bad-empty.exp | 1 - test/filters/seccomp-empty.exp | 1 - test/filters/syscall_test | Bin 9552 -> 11095 bytes test/filters/syscall_test.c | 4 ++-- test/filters/syscall_test32 | Bin 6868 -> 8907 bytes 8 files changed, 4 insertions(+), 7 deletions(-) (limited to 'test/filters') diff --git a/test/filters/caps2.profile b/test/filters/caps2.profile index 4f0016fad..ad49719f1 100644 --- a/test/filters/caps2.profile +++ b/test/filters/caps2.profile @@ -1 +1 @@ -caps.drop chown,dac_override,dac_read_search,fowner \ No newline at end of file +caps.drop chown,dac_override,dac_read_search,fowner diff --git a/test/filters/caps3.profile b/test/filters/caps3.profile index 4f0016fad..ad49719f1 100644 --- a/test/filters/caps3.profile +++ b/test/filters/caps3.profile @@ -1 +1 @@ -caps.drop chown,dac_override,dac_read_search,fowner \ No newline at end of file +caps.drop chown,dac_override,dac_read_search,fowner diff --git a/test/filters/fseccomp.exp b/test/filters/fseccomp.exp index 433524680..95b7bfadd 100755 --- a/test/filters/fseccomp.exp +++ b/test/filters/fseccomp.exp @@ -135,4 +135,3 @@ expect { after 100 puts "\nall done\n" - diff --git a/test/filters/seccomp-bad-empty.exp b/test/filters/seccomp-bad-empty.exp index 9cfbac109..19e64ee84 100755 --- a/test/filters/seccomp-bad-empty.exp +++ b/test/filters/seccomp-bad-empty.exp @@ -38,4 +38,3 @@ expect { } after 100 puts "\nall done\n" - diff --git a/test/filters/seccomp-empty.exp b/test/filters/seccomp-empty.exp index 2cd316953..03e081b34 100755 --- a/test/filters/seccomp-empty.exp +++ b/test/filters/seccomp-empty.exp @@ -146,4 +146,3 @@ sleep 2 send -- "exit\r" after 100 puts "\n" - diff --git a/test/filters/syscall_test b/test/filters/syscall_test index bf29c5b99..12edd2d64 100755 Binary files a/test/filters/syscall_test and b/test/filters/syscall_test differ diff --git a/test/filters/syscall_test.c b/test/filters/syscall_test.c index 48e8f29f5..641eb0c00 100644 --- a/test/filters/syscall_test.c +++ b/test/filters/syscall_test.c @@ -45,14 +45,14 @@ int main(int argc, char **argv) { } else close(sock); - + printf("testing socket AF_UNIX\n"); if ((sock = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) { perror("socket"); } else close(sock); - + // root needed to be able to handle this printf("testing socket AF_PACKETX\n"); if ((sock = socket(AF_PACKET, SOCK_DGRAM, htons(ETH_P_ARP))) < 0) { diff --git a/test/filters/syscall_test32 b/test/filters/syscall_test32 index 8d72f58c4..29af1e073 100755 Binary files a/test/filters/syscall_test32 and b/test/filters/syscall_test32 differ -- cgit v1.2.3-54-g00ecf