From 71ac6ff9e84f8962558b1f1d15a050549e534758 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 4 Jan 2016 23:40:24 +0000 Subject: [PATCH] tests/execveat.c: use libtests * tests/execveat.c: Use SKIP_MAIN_UNDEFINED. --- tests/execveat.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 -- 2.40.0