Hello, @hittzt
Thanks for the feedback.
From my opinion, the test method seems not very reasonable according to the notes from gpioset command:
“The state of a GPIO line controlled over the character device reverts to default when the last process referencing the file descriptor representing the device file exits. This means that it's wrong to run gpioset, have it exit and expect the line to continue being driven high or low...”
Best Regards
Chenyin