Skip to content

Commit

Permalink
rm comment and macros
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Palethorpe committed Nov 23, 2023
1 parent 18d440f commit 529a90b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions testcases/kernel/syscalls/getxattr/getxattr03.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include "config.h"
#include "tst_test.h"

#ifdef HAVE_SYS_XATTR_H
#include <sys/xattr.h>
#include "tst_safe_macros.h"

Expand All @@ -32,7 +31,6 @@ static void run(void)

static void setup(void)
{
/* Test for xattr support and set attr value */
SAFE_TOUCH(FNAME, 0644, NULL);
SAFE_SETXATTR(FNAME, XATTR_TEST_KEY, XATTR_TEST_VALUE,
XATTR_TEST_VALUE_SIZE, XATTR_CREATE);
Expand All @@ -54,7 +52,3 @@ static struct tst_test test = {
.setup = setup,
.test_all = run,
};

#else /* HAVE_SYS_XATTR_H */
TST_TEST_TCONF("System doesn't have <sys/xattr.h>");
#endif

0 comments on commit 529a90b

Please sign in to comment.