Skip to content

Commit

Permalink
tests: cleanup device_add_remove.c
Browse files Browse the repository at this point in the history
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
  • Loading branch information
2xsec committed Jul 3, 2018
1 parent 8d72e58 commit e9432df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tests/device_add_remove.c
Expand Up @@ -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;
Expand All @@ -64,6 +65,7 @@ int main(int argc, char *argv[])
fprintf(stderr, "Destroying the container (%s) failed...\n", NAME);
goto out;
}

ret = 0;

out:
Expand Down

0 comments on commit e9432df

Please sign in to comment.