On 2019年05月24日 15:00, Mark Wielaard wrote:
On Fri, May 24, 2019 at 02:45:21PM +0800, Yu, Mingli wrote:
And I noticed the source code and already run as "./test-nlist", but Seems
it doesn't work as expected.
# ./test-nlist
# echo $?
1
# ./test-nlist -d
nl[0].n_name = "var"
nl[0].n_value = 0
nl
On Fri, May 24, 2019 at 02:45:21PM +0800, Yu, Mingli wrote:
> And I noticed the source code and already run as "./test-nlist", but Seems
> it doesn't work as expected.
> # ./test-nlist
> # echo $?
> 1
> # ./test-nlist -d
> nl[0].n_name = "var"
> nl[0].n_value = 0
> nl[0].n_scnum = 0
> nl[0].n_type
On Fri, May 24, 2019 at 02:36:15PM +0800, Yu, Mingli wrote:
> > Yes. See the source code.
> > The test tries to run nlist on "./test-nlist".
>
> Which package provides nlist, I didn't found nlist in my system.
nlist is a function in libelf, one of the libraries of elfutils.
Cheers,
Mark
On 2019年05月24日 14:36, Yu, Mingli wrote:
On 2019年05月24日 14:23, Mark Wielaard wrote:
On Fri, May 24, 2019 at 11:00:57AM +0800, Yu, Mingli wrote:
On 2019年05月23日 19:50, Mark Wielaard wrote:
# ./tests/test-nlist
nlist failed
You are supposed to run it with make check.
make check TESTS=test-n
On 2019年05月24日 14:23, Mark Wielaard wrote:
On Fri, May 24, 2019 at 11:00:57AM +0800, Yu, Mingli wrote:
On 2019年05月23日 19:50, Mark Wielaard wrote:
# ./tests/test-nlist
nlist failed
You are supposed to run it with make check.
make check TESTS=test-nlist
test-nlist tries to run nlist on itse
On Fri, May 24, 2019 at 11:00:57AM +0800, Yu, Mingli wrote:
> On 2019年05月23日 19:50, Mark Wielaard wrote:
> > > # ./tests/test-nlist
> > > nlist failed
> >
> > You are supposed to run it with make check.
> > make check TESTS=test-nlist
> >
> > test-nlist tries to run nlist on itself.
> > So it has
On 2019年05月23日 19:50, Mark Wielaard wrote:
On Thu, May 23, 2019 at 04:52:39PM +0800, Yu, Mingli wrote:
I run some tests about elfutils, but one test as test-nlist always fails as
below:
# ./tests/test-nlist
nlist failed
You are supposed to run it with make check.
make check TESTS=test-nlis
On Thu, May 23, 2019 at 04:52:39PM +0800, Yu, Mingli wrote:
> I run some tests about elfutils, but one test as test-nlist always fails as
> below:
>
> # ./tests/test-nlist
> nlist failed
You are supposed to run it with make check.
make check TESTS=test-nlist
test-nlist tries to run nlist on itse
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"
n