diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-10-12 02:39:11 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-10-12 15:20:28 +0900 |
commit | f21b863eebbd54e481dd62192dec5ec9e3aa12d9 (patch) | |
tree | bc875e9d2e3500bdb759fd1472a4a24a8bc08130 /src/test/test-path-lookup.c | |
parent | 1c71302f70c7d0712d49b5214f5f29b4d6a2c73e (diff) | |
download | systemd-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.c | 2 |
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) |