]> git.corax.cc Git - toolbox/commit
test/ipc: Make setup() function idempotent
authorMatthias Kruk <m@m10k.eu>
Sat, 17 Sep 2022 05:16:24 +0000 (14:16 +0900)
committerMatthias Kruk <m@m10k.eu>
Sat, 17 Sep 2022 05:16:24 +0000 (14:16 +0900)
commit25e007f09a0e1bdcd346fe22f097fb7baaeb5060
tree7ada65ce6f2cc1741b1584e6a4e5805716927376
parented55b9092cf7ac06454b60c268138726c7ce7867
test/ipc: Make setup() function idempotent

The setup() function in the test spec for the ipc module is not
idempotent, causing the second and all subsequent test cases that
use it to fail.

This commit modifies the setup() function so that it does not fail
if it is called more than once.
test/ipc_spec.sh