This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
How to use test-nlist
- From: "Yu, Mingli" <mingli dot yu at windriver dot com>
- To: <elfutils-devel at sourceware dot org>
- Date: Thu, 23 May 2019 16:52:39 +0800
- Subject: How to use test-nlist
Hi Expert,
I run some tests about elfutils, but one test as test-nlist always fails
as below:
# ./tests/test-nlist
nlist failed
# cd tests
# ./test-nlist -d
nl[0].n_name = "var"
nl[0].n_value = 0
nl[0].n_scnum = 0
nl[0].n_type = 0
nl[0].n_sclass = 0
nl[0].n_numaux = 0
nl[1].n_name = "bss"
nl[1].n_value = 0
nl[1].n_scnum = 0
nl[1].n_type = 0
nl[1].n_sclass = 0
nl[1].n_numaux = 0
nl[2].n_name = "main"
nl[2].n_value = 0
nl[2].n_scnum = 0
nl[2].n_type = 0
nl[2].n_sclass = 0
nl[2].n_numaux = 0
nl[3].n_name = "foo"
nl[3].n_value = 0
nl[3].n_scnum = 0
nl[3].n_type = 0
nl[3].n_sclass = 0
nl[3].n_numaux = 0
nl[4].n_name = "not-there"
nl[4].n_value = 0
nl[4].n_scnum = 0
nl[4].n_type = 0
nl[4].n_sclass = 0
nl[4].n_numaux = 0
# echo $?
1
Any hints?
Thanks,