summaryrefslogtreecommitdiffstats
path: root/src/test/test-dev-setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-dev-setup.c')
-rw-r--r--src/test/test-dev-setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test-dev-setup.c b/src/test/test-dev-setup.c
index b75576a..ed56710 100644
--- a/src/test/test-dev-setup.c
+++ b/src/test/test-dev-setup.c
@@ -25,6 +25,7 @@ int main(int argc, char *argv[]) {
assert_se(mkdir_p(f, 0755) >= 0);
assert_se(make_inaccessible_nodes(f, 1, 1) >= 0);
+ assert_se(make_inaccessible_nodes(f, 1, 1) >= 0); /* 2nd call should be a clean NOP */
f = prefix_roota(p, "/run/systemd/inaccessible/reg");
assert_se(stat(f, &st) >= 0);