From: Dmitry V. Levin Date: Mon, 4 Jan 2016 23:40:24 +0000 (+0000) Subject: tests/execveat.c: use libtests X-Git-Tag: v4.12~765 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=71ac6ff9e84f8962558b1f1d15a050549e534758;p=strace tests/execveat.c: use libtests * tests/execveat.c: Use SKIP_MAIN_UNDEFINED. --- diff --git a/tests/execveat.c b/tests/execveat.c index e268d873..af3d08e7 100644 --- a/tests/execveat.c +++ b/tests/execveat.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015 Dmitry V. Levin + * Copyright (c) 2015-2016 Dmitry V. Levin * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -46,10 +46,6 @@ main(void) #else -int -main(void) -{ - return 77; -} +SKIP_MAIN_UNDEFINED("__NR_execveat") #endif