From cb638b5e96465e695eaf34859ac762236b4bcb1e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 1 Dec 2016 12:49:23 +0100 Subject: util-lib: rename CHASE_NON_EXISTING → CHASE_NONEXISTENT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As suggested by @keszybz --- src/test/test-fs-util.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/test/test-fs-util.c') diff --git a/src/test/test-fs-util.c b/src/test/test-fs-util.c index 2570bc5859..b502cd0ad1 100644 --- a/src/test/test-fs-util.c +++ b/src/test/test-fs-util.c @@ -72,7 +72,7 @@ static void test_chase_symlinks(void) { q = strjoina(temp, "/usr"); - r = chase_symlinks(p, temp, CHASE_NON_EXISTING, &result); + r = chase_symlinks(p, temp, CHASE_NONEXISTENT, &result); assert_se(r == 0); assert_se(path_equal(result, q)); @@ -162,7 +162,7 @@ static void test_chase_symlinks(void) { r = chase_symlinks(p, NULL, 0, &result); assert_se(r == -ENOENT); - r = chase_symlinks(p, NULL, CHASE_NON_EXISTING, &result); + r = chase_symlinks(p, NULL, CHASE_NONEXISTENT, &result); assert_se(r == 0); assert_se(path_equal(result, p)); result = mfree(result); @@ -171,7 +171,7 @@ static void test_chase_symlinks(void) { r = chase_symlinks(p, NULL, 0, &result); assert_se(r == -ENOENT); - r = chase_symlinks(p, NULL, CHASE_NON_EXISTING, &result); + r = chase_symlinks(p, NULL, CHASE_NONEXISTENT, &result); assert_se(r == 0); assert_se(path_equal(result, p)); result = mfree(result); @@ -182,7 +182,7 @@ static void test_chase_symlinks(void) { r = chase_symlinks(p, NULL, 0, &result); assert_se(r == -ENOENT); - r = chase_symlinks(p, NULL, CHASE_NON_EXISTING, &result); + r = chase_symlinks(p, NULL, CHASE_NONEXISTENT, &result); assert_se(r == -ENOENT); assert_se(rm_rf(temp, REMOVE_ROOT|REMOVE_PHYSICAL) >= 0); -- cgit v1.2.3-54-g00ecf