Skip to content

Commit

Permalink
posix: fix stropts_h.c faulty imports and function usage
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhinavMir committed Jan 26, 2024
1 parent 42a2fb1 commit 4208463
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions tests/posix/headers/src/stropts_h.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <ztest.h>
#include <zephyr/posix/stropts.h>
#include <stropts.h>
#include "_common.h"
/**
* @brief Test existence and basic functionality of stropts.h
*
Expand All @@ -14,12 +13,3 @@ ZTEST(posix_headers, test_stropts_h)
zassert_true(sizeof(((struct strbuf *)0)->len) > 0, "len size is 0");
zassert_true(sizeof(((struct strbuf *)0)->buf) > 0, "buf size is 0");
}

void test_main(void)
{
ztest_test_suite(posix_stropts_test,
ztest_unit_test(test_stropts_h)
);

ztest_run_test_suite(posix_stropts_test);
}

0 comments on commit 4208463

Please sign in to comment.