test-abidiff-exit: Fix the command line passed to abidiff
authorDodji Seketeli <dodji@redhat.com>
Wed, 26 Apr 2023 10:37:30 +0000 (12:37 +0200)
committerDodji Seketeli <dodji@redhat.com>
Wed, 26 Apr 2023 10:37:30 +0000 (12:37 +0200)
commitd8e7c7ce6d92a3a18ec93eeb53e90e19ae347e18
tree7bf13131ad547854c8dcca73b4d85d09359926dd
parent6c65b54fbdeea2b190b75a4c9031616d90e6d3c8
test-abidiff-exit: Fix the command line passed to abidiff

I noticed that the command line passed to abidiff in the
test-abidiff-exit.cc is getting bigger and bigger as the test runs.
This is because in the main loop that calls abidiff on each test, we
forget to reset the "headers directories" part of the command line
passed to abidiff.

Fixed thus.

* tests/test-abidiff-exit.cc (main): Reset the headers directories
passed to abidiff at each iteration.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
tests/test-abidiff-exit.cc