[LTP] [PATCH] syscalls/fsetxattr02.c: Fix the failure of opening device files
Rafael David Tinoco
rafael.tinoco@linaro.org
Thu Aug 9 16:57:23 CEST 2018
> --- a/testcases/kernel/syscalls/fsetxattr/fsetxattr02.c
> +++ b/testcases/kernel/syscalls/fsetxattr/fsetxattr02.c
> @@ -52,11 +52,13 @@
> #define FILENAME "fsetxattr02testfile"
> #define DIRNAME "fsetxattr02testdir"
> #define SYMLINK "fsetxattr02symlink"
> -#define FIFO "fsetxattr02fifo"
> -#define CHR "fsetxattr02chr"
> -#define BLK "fsetxattr02blk"
> +#define FIFO "/dev/fsetxattr02fifo"
> +#define CHR "/dev/fsetxattr02chr"
> +#define BLK "/dev/fsetxattr02blk"
Thanks for catching this!! Minor issue: This will break OFFSET logic for
tst_res() messages. They are skipping 11 chars because all files started
with "fsetxattr02".
-Rafael
More information about the ltp
mailing list