Lines Matching refs:ATF_REQUIRE
52 ATF_REQUIRE(!is_glob(""));
53 ATF_REQUIRE(!is_glob("a"));
54 ATF_REQUIRE(!is_glob("foo"));
56 ATF_REQUIRE( is_glob("*"));
57 ATF_REQUIRE( is_glob("a*"));
58 ATF_REQUIRE( is_glob("*a"));
59 ATF_REQUIRE( is_glob("a*b"));
61 ATF_REQUIRE( is_glob("?"));
62 ATF_REQUIRE( is_glob("a?"));
63 ATF_REQUIRE( is_glob("?a"));
64 ATF_REQUIRE( is_glob("a?b"));
77 ATF_REQUIRE( matches_glob("", ""));
78 ATF_REQUIRE(!matches_glob("a", ""));
79 ATF_REQUIRE(!matches_glob("", "a"));
81 ATF_REQUIRE( matches_glob("ab", "ab"));
82 ATF_REQUIRE(!matches_glob("abc", "ab"));
83 ATF_REQUIRE(!matches_glob("ab", "abc"));
96 ATF_REQUIRE( matches_glob("*", ""));
97 ATF_REQUIRE( matches_glob("*", "a"));
98 ATF_REQUIRE( matches_glob("*", "ab"));
100 ATF_REQUIRE(!matches_glob("a*", ""));
101 ATF_REQUIRE( matches_glob("a*", "a"));
102 ATF_REQUIRE( matches_glob("a*", "aa"));
103 ATF_REQUIRE( matches_glob("a*", "ab"));
104 ATF_REQUIRE( matches_glob("a*", "abc"));
105 ATF_REQUIRE(!matches_glob("a*", "ba"));
107 ATF_REQUIRE( matches_glob("*a", "a"));
108 ATF_REQUIRE( matches_glob("*a", "ba"));
109 ATF_REQUIRE(!matches_glob("*a", "bc"));
110 ATF_REQUIRE(!matches_glob("*a", "bac"));
112 ATF_REQUIRE( matches_glob("*ab", "ab"));
113 ATF_REQUIRE( matches_glob("*ab", "aab"));
114 ATF_REQUIRE( matches_glob("*ab", "aaab"));
115 ATF_REQUIRE( matches_glob("*ab", "bab"));
116 ATF_REQUIRE(!matches_glob("*ab", "bcb"));
117 ATF_REQUIRE(!matches_glob("*ab", "bacb"));
119 ATF_REQUIRE( matches_glob("a*b", "ab"));
120 ATF_REQUIRE( matches_glob("a*b", "acb"));
121 ATF_REQUIRE( matches_glob("a*b", "acdeb"));
122 ATF_REQUIRE(!matches_glob("a*b", "acdebz"));
123 ATF_REQUIRE(!matches_glob("a*b", "zacdeb"));
136 ATF_REQUIRE(!matches_glob("?", ""));
137 ATF_REQUIRE( matches_glob("?", "a"));
138 ATF_REQUIRE(!matches_glob("?", "ab"));
140 ATF_REQUIRE( matches_glob("?", "b"));
141 ATF_REQUIRE( matches_glob("?", "c"));
143 ATF_REQUIRE( matches_glob("a?", "ab"));
144 ATF_REQUIRE( matches_glob("a?", "ac"));
145 ATF_REQUIRE(!matches_glob("a?", "ca"));
147 ATF_REQUIRE( matches_glob("???", "abc"));
148 ATF_REQUIRE( matches_glob("???", "def"));
149 ATF_REQUIRE(!matches_glob("???", "a"));
150 ATF_REQUIRE(!matches_glob("???", "ab"));
151 ATF_REQUIRE(!matches_glob("???", "abcd"));
176 ATF_REQUIRE(exps[0] == "foo");
180 ATF_REQUIRE(exps[0] == "bar");
184 ATF_REQUIRE(exps[0] == "foo");
185 ATF_REQUIRE(exps[1] == "foobar");
186 ATF_REQUIRE(exps[2] == "foobarbaz");
187 ATF_REQUIRE(exps[3] == "foobarbazfoo");
191 ATF_REQUIRE(exps[0] == "foo");
192 ATF_REQUIRE(exps[1] == "foobarbazfoo");
196 ATF_REQUIRE(exps[0] == "foo");
197 ATF_REQUIRE(exps[1] == "foobar");
198 ATF_REQUIRE(exps[2] == "foobarbaz");
199 ATF_REQUIRE(exps[3] == "foobarbazfoo");
206 ATF_REQUIRE(exps[0] == "bar");
207 ATF_REQUIRE(exps[1] == "baz");
214 ATF_REQUIRE(exps[0] == "bar");
215 ATF_REQUIRE(exps[1] == "baz");
216 ATF_REQUIRE(exps[2] == "foobar");
217 ATF_REQUIRE(exps[3] == "foobarbaz");
218 ATF_REQUIRE(exps[4] == "foobarbazfoo");
248 ATF_REQUIRE(exps[0] == "t_foo");
249 ATF_REQUIRE(exps[1] == "t_bar");
250 ATF_REQUIRE(exps[2] == "t_baz");
254 ATF_REQUIRE(exps[0] == "foo_test");
255 ATF_REQUIRE(exps[1] == "bar_test");
256 ATF_REQUIRE(exps[2] == "baz_test");