Merge pull request #27020 from 1awesomeJ/nit

systemd-cryptenroll: adding integration test cases
This commit is contained in:
Luca Boccassi
2023-03-29 12:24:08 +01:00
committed by GitHub
2 changed files with 79 additions and 0 deletions
+1
View File
@@ -17,6 +17,7 @@ TEST(parse_compare_operator) {
const char *str_e = "!=!="; /* parse_compare_operator() moves the pointer */
assert_se(parse_compare_operator(&str_e, COMPARE_EQUAL_BY_STRING) == COMPARE_STRING_UNEQUAL);
assert_se(parse_compare_operator(&str_e, 0) == COMPARE_UNEQUAL);
assert_se(parse_compare_operator(&str_e, 0) == _COMPARE_OPERATOR_INVALID);
}
TEST(test_order) {