Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions usr.bin/lorder/tests/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
PACKAGE= tests
ATF_TESTS_SH= lorder_test

TEST_METADATA+= required_programs="nm"

.include <bsd.test.mk>
4 changes: 4 additions & 0 deletions usr.bin/lorder/tests/lorder_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ noargs_body() {
atf_test_case onearg
onearg_head() {
atf_set descr "One argument"
atf_set require.progs "cc"
}
onearg_body() {
echo "void a(void) { }" >a.c
Expand All @@ -28,6 +29,7 @@ onearg_body() {
atf_test_case dashdash
dashdash_head() {
atf_set descr "One argument"
atf_set require.progs "cc"
}
dashdash_body() {
echo "void a(void) { }" >a.c
Expand Down Expand Up @@ -59,6 +61,7 @@ invalid_body() {
atf_test_case objects
objects_head() {
atf_set descr "Order objects"
atf_set require.progs "cc"
}
objects_body() {
echo "void a(void) { }" >a.c
Expand All @@ -77,6 +80,7 @@ objects_body() {
atf_test_case archives
archives_head() {
atf_set descr "Order archives"
atf_set require.progs "cc"
}
archives_body() {
echo "void a(void) { }" >a.c
Expand Down
Loading