]> git.alsa-project.org Git - alsa-utils.git/commit
axfer: test: minor code arrangement to use the same file descriptor for mappter-test
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 11 Mar 2021 05:21:41 +0000 (14:21 +0900)
committerJaroslav Kysela <perex@perex.cz>
Thu, 11 Mar 2021 08:30:02 +0000 (09:30 +0100)
commit5ab26fbc146bcb1a894970421a10188feed714a2
tree3e6760dd337d84f44e372460ea24a096c1059204
parent2314d746b9009838523ba24c377253ae656c9f36
axfer: test: minor code arrangement to use the same file descriptor for mappter-test

In mapper test program, two set of file descriptors open to the same files
for container builder and parser contexts, however the same file descriptor
is available for the case.

This commit arranges to use the same file descriptor for the contexts.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
axfer/test/mapper-test.c