]> granicus.if.org Git - strace/commitdiff
tests/execveat.c: use libtests
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 4 Jan 2016 23:40:24 +0000 (23:40 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 4 Jan 2016 23:40:24 +0000 (23:40 +0000)
* tests/execveat.c: Use SKIP_MAIN_UNDEFINED.

tests/execveat.c

index e268d873a3d399ca442c146effd7757c56d08419..af3d08e7f2ec9e54cac6a77f7f849bf90fcbcabc 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Dmitry V. Levin <ldv@altlinux.org>
+ * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@altlinux.org>
  * 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