[LTP] [PATCH] syscalls/fsetxattr02.c: Fix the failure of opening device files
Xiao Yang
yangx.jy@cn.fujitsu.com
Fri Aug 10 02:13:57 CEST 2018
On 2018/08/09 22:57, Rafael David Tinoco wrote:
>> --- 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".
Hi Rafael,
Sorry for this rough fix, and i will send v2 patch as you suggested.
Thanks,
Xiao Yang
> -Rafael
>
>
>
More information about the ltp
mailing list