summaryrefslogtreecommitdiff
path: root/src/test/test-path-lookup.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-10-12 02:39:11 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-10-12 15:20:28 +0900
commitf21b863eebbd54e481dd62192dec5ec9e3aa12d9 (patch)
treebc875e9d2e3500bdb759fd1472a4a24a8bc08130 /src/test/test-path-lookup.c
parent1c71302f70c7d0712d49b5214f5f29b4d6a2c73e (diff)
downloadsystemd-f21b863eebbd54e481dd62192dec5ec9e3aa12d9.tar.gz
test: use assert_se() instead of assert()
Diffstat (limited to 'src/test/test-path-lookup.c')
-rw-r--r--src/test/test-path-lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-path-lookup.c b/src/test/test-path-lookup.c
index da146aac2a..f0b716a4c5 100644
--- a/src/test/test-path-lookup.c
+++ b/src/test/test-path-lookup.c
@@ -60,7 +60,7 @@ static void test_user_and_global_paths(void) {
k++;
}
log_info(" %s", *p);
- assert(u[k]); /* If NULL, we didn't find a matching entry */
+ assert_se(u[k]); /* If NULL, we didn't find a matching entry */
k++;
}
STRV_FOREACH(p, u + k)