Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Add a test about parsing @dir
Baptiste Daroussin committed 11 years ago
commit ba22f9b6b68e85da63a17573549b3ba13a39187f
parent 79b378c
1 file changed +3 -0
modified tests/lib/plist.c
@@ -132,6 +132,9 @@ ATF_TC_BODY(parse_plist, tc)
	strlcpy(buf, "nonexisting/file", BUFSIZ);
	ATF_REQUIRE_EQ(EPKG_FATAL, plist_parse_line(plist, buf));

+
	strlcpy(buf, "@dir nonexisting", BUFSIZ);
+
	ATF_REQUIRE_EQ(EPKG_FATAL, plist_parse_line(plist, buf));
+

	pkg_free(p);
	plist_free(plist);
}