diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2017-01-16 18:36:38 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2017-01-16 18:36:38 +0000 |
commit | 4acf8d706e36dba0a51abf45def6c31c3fe7bac5 (patch) | |
tree | 39148f4dcff51d719bfa9d7d323e18f1660bc27e /contrib/netbsd-tests | |
parent | 39a3103b411951e49f6fae2b0145f34ac582dc80 (diff) | |
download | src-4acf8d706e36dba0a51abf45def6c31c3fe7bac5.tar.gz src-4acf8d706e36dba0a51abf45def6c31c3fe7bac5.zip |
Diff reduce with upstream by using macros and logic integrated in
later revisions of the test
Notes
Notes:
svn path=/projects/netbsd-tests-upstream-01-2017/; revision=312301
Diffstat (limited to 'contrib/netbsd-tests')
-rw-r--r-- | contrib/netbsd-tests/lib/libc/rpc/t_rpc.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c b/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c index bce363375be5..e5d4321625f2 100644 --- a/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c +++ b/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c @@ -24,13 +24,6 @@ __RCSID("$NetBSD: t_rpc.c,v 1.10 2016/08/27 14:36:22 christos Exp $"); return ev; \ } while(/*CONSTCOND*/0) -#ifdef __FreeBSD__ -#define SKIPXI(ev, msg, ...) do { \ - atf_tc_skip(msg, __VA_ARGS__); \ - return ev; \ -} while(/*CONSTCOND*/0) -#endif - #else #define ERRX(ev, msg, ...) errx(EXIT_FAILURE, msg, __VA_ARGS__) #define SKIPX(ev, msg, ...) errx(EXIT_FAILURE, msg, __VA_ARGS__) @@ -196,7 +189,7 @@ regtest(const char *hostname, const char *transp, const char *arg, int p) #endif if (!svc_create(server, PROGNUM, VERSNUM, transp)) { - SKIPXI(EXIT_FAILURE, "Cannot create server %d", num); + SKIPX(EXIT_FAILURE, "Cannot create server %d", num); } switch ((pid = fork())) { |