diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-12-01 12:49:23 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-12-01 12:49:55 +0100 |
commit | cb638b5e96465e695eaf34859ac762236b4bcb1e (patch) | |
tree | 45e4db57eddec48c212a83d712123bf6cdeb37b8 /src/test | |
parent | ec57bd426a1130e93946b39c20823c7420902695 (diff) |
util-lib: rename CHASE_NON_EXISTING → CHASE_NONEXISTENT
As suggested by @keszybz
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-fs-util.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); |