Lines Matching full:bar
17 ut_assertok(env_attr_lookup("foo:bar", "foo", attrs)); in env_test_attrs_lookup()
18 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup()
20 ut_assertok(env_attr_lookup(",foo:bar", "foo", attrs)); in env_test_attrs_lookup()
21 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup()
23 ut_assertok(env_attr_lookup(",foo:bar,", "foo", attrs)); in env_test_attrs_lookup()
24 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup()
26 ut_assertok(env_attr_lookup(" foo:bar", "foo", attrs)); in env_test_attrs_lookup()
27 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup()
29 ut_assertok(env_attr_lookup("foo : bar", "foo", attrs)); in env_test_attrs_lookup()
30 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup()
32 ut_assertok(env_attr_lookup(" foo: bar ", "foo", attrs)); in env_test_attrs_lookup()
33 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup()
35 ut_assertok(env_attr_lookup("foo:bar ", "foo", attrs)); in env_test_attrs_lookup()
36 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup()
38 ut_assertok(env_attr_lookup(",foo:bar,goo:baz", "foo", attrs)); in env_test_attrs_lookup()
39 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup()
45 ut_assertok(env_attr_lookup("foo:bar,foo:bat,foo:baz", "foo", attrs)); in env_test_attrs_lookup()
49 " foo : bar , foo : bat , foot : baz ", "foo", attrs)); in env_test_attrs_lookup()
53 " foo : bar , foo : bat , ufoo : baz ", "foo", attrs)); in env_test_attrs_lookup()
57 ut_asserteq(-EINVAL, env_attr_lookup("foo:bar", "foo", NULL)); in env_test_attrs_lookup()
68 ut_assertok(env_attr_lookup("foo1?:bar", "foo", attrs)); in env_test_attrs_lookup_regex()
69 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup_regex()
71 ut_assertok(env_attr_lookup("foo1?:bar", "foo1", attrs)); in env_test_attrs_lookup_regex()
72 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup_regex()
74 ut_assertok(env_attr_lookup(".foo:bar", ".foo", attrs)); in env_test_attrs_lookup_regex()
75 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup_regex()
77 ut_assertok(env_attr_lookup(".foo:bar", "ufoo", attrs)); in env_test_attrs_lookup_regex()
78 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup_regex()
80 ut_assertok(env_attr_lookup("\\.foo:bar", ".foo", attrs)); in env_test_attrs_lookup_regex()
81 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup_regex()
83 ut_asserteq(-ENOENT, env_attr_lookup("\\.foo:bar", "ufoo", attrs)); in env_test_attrs_lookup_regex()