Unverified Commit a95b215c by 2xsec Committed by Christian Brauner

tests: cleanup device_add_remove.c

Signed-off-by: 's avatar2xsec <dh48.jeong@samsung.com>
parent 55ac3cd0
......@@ -50,6 +50,7 @@ int main(int argc, char *argv[])
fprintf(stderr, "Adding %s to the container (%s) failed...\n", DEVICE, NAME);
goto out;
}
if (!c->remove_device_node(c, DEVICE, DEVICE)) {
fprintf(stderr, "Removing %s from the container (%s) failed...\n", DEVICE, NAME);
goto out;
......@@ -64,6 +65,7 @@ int main(int argc, char *argv[])
fprintf(stderr, "Destroying the container (%s) failed...\n", NAME);
goto out;
}
ret = 0;
out:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment