Menu

#528 tc_elf_getarhdr test fails if run as non-root

RELEASE_1_0
new
nobody
None
2016-05-16
2016-05-16
Ed Maste
No

test/libelf/tset/elf_getarhdr/a.ar contains a number of files with 0:0 ownership.
when the test is run as non-root these are extracted with the user's uid and the test fails:

10|190 /tset/elf_getarhdr/tc_elf_getarhdr 16:12:17|TC Start, scenario ref 191-0, ICs: {4}
15|190 3.8-lite 1|TCM Start
400|190 4 1 16:12:17|IC Start
200|190 4 16:12:17|TP Start
520|190 4 00007343 1 1|N: tcArMemberSVR4
520|190 4 00007343 1 2|A: elf_getarhdr()/SVR4 succeeds for all members of an archive.
520|190 4 00007343 1 3|F: "s1" uid: 0 != 1001.
220|190 4 1 16:12:17|FAIL

Discussion


Log in to post a comment.