diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-09-11 13:41:09 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-09-13 17:02:58 +0900 |
commit | a2917d3d2a3ce926f74b63aa60a47f838a8e1f83 (patch) | |
tree | e9695c9d2f937a3c660fda84fa6aa92991e7fcc1 /src/test/test-strv.c | |
parent | 474a595af7544a670de70e1eb873bcee1bb00044 (diff) | |
download | systemd-a2917d3d2a3ce926f74b63aa60a47f838a8e1f83.tar.gz |
test: replace swear words by 'hoge'
Diffstat (limited to 'src/test/test-strv.c')
-rw-r--r-- | src/test/test-strv.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/test-strv.c b/src/test/test-strv.c index 6b024ff6a0..5b0b9547b7 100644 --- a/src/test/test-strv.c +++ b/src/test/test-strv.c @@ -284,18 +284,18 @@ static void test_strv_split_nulstr(void) { static void test_strv_parse_nulstr(void) { _cleanup_strv_free_ char **l = NULL; - const char nulstr[] = "fuck\0fuck2\0fuck3\0\0fuck5\0\0xxx"; + const char nulstr[] = "hoge\0hoge2\0hoge3\0\0hoge5\0\0xxx"; l = strv_parse_nulstr(nulstr, sizeof(nulstr)-1); assert_se(l); puts("Parse nulstr:"); strv_print(l); - assert_se(streq(l[0], "fuck")); - assert_se(streq(l[1], "fuck2")); - assert_se(streq(l[2], "fuck3")); + assert_se(streq(l[0], "hoge")); + assert_se(streq(l[1], "hoge2")); + assert_se(streq(l[2], "hoge3")); assert_se(streq(l[3], "")); - assert_se(streq(l[4], "fuck5")); + assert_se(streq(l[4], "hoge5")); assert_se(streq(l[5], "")); assert_se(streq(l[6], "xxx")); } |