nuttx-apps/testing/ostest
Gregory Nutt 6a679043e6 testing/ostest: More improvements to getopt() testing/ostest
Fix optind range checking.  optind may index through argc (to the NULL argv entry) on the last option since optind is required to always point to the next command line argument.

Add two more test cases were the final thing on the command line is an invalid long option.

Fix a check that used an older, obsoleted hard-coded value that was not updated.

This should have no impact other than to the getopt() test cases of the OS test.

Tested on the simulator using a modified NSH configuration.
2021-04-04 11:45:24 -05:00
..
aio.c Unify the void cast usage 2020-01-02 23:21:01 +08:00
barrier.c Unify the void cast usage 2020-01-02 23:21:01 +08:00
cancel.c Run codespell -w with the latest dictonary again 2020-02-23 07:10:14 -06:00
cond.c testing: ostest: Fix a warning in cond.c for non-SMP configurations. 2020-02-29 02:51:55 -06:00
dev_null.c Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06:00
fpu.c testing/ostest/fpu.c: Fix a printf format warning 2020-11-13 05:51:23 -08:00
getopt.c testing/ostest: More improvements to getopt() testing/ostest 2021-04-04 11:45:24 -05:00
Kconfig Change the defaults of stack size configs to DEFAULT_TASK_STACKSIZE 2020-03-27 02:43:11 -05:00
Make.defs apps/: In all Make.def files, append to CONFIGURED_APPS patch with the absolute path. 2019-10-17 11:33:59 -06:00
Makefile testing/ostest: Add a test of the getopt() family of interfaces. 2021-04-03 01:07:34 -05:00
mqueue.c apps: update mqueue_open usage 2021-01-03 21:23:34 -06:00
mutex.c Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06:00
nsem.c apps/testing: Move apps/examples/ostest to apps/testing/ostest. 2018-12-12 16:37:38 -06:00
ostest.h testing/ostest: Add a test of the getopt() family of interfaces. 2021-04-03 01:07:34 -05:00
ostest_main.c testing/ostest: Add a test of the getopt() family of interfaces. 2021-04-03 01:07:34 -05:00
posixtimer.c testing/ostest/posixtimer.c: Fix printf format warnings 2020-11-13 05:51:23 -08:00
prioinherit.c Resolve style issues in ostest/prioinherit 2020-04-30 15:18:04 +08:00
pthread_cleanup.c apps/testing: Move apps/examples/ostest to apps/testing/ostest. 2018-12-12 16:37:38 -06:00
pthread_rwlock.c Unify the void cast usage 2020-01-02 23:21:01 +08:00
pthread_rwlock_cancel.c Unify the void cast usage 2020-01-02 23:21:01 +08:00
restart.c apps/testing: Move apps/examples/ostest to apps/testing/ostest. 2018-12-12 16:37:38 -06:00
rmutex.c Unify the void cast usage 2020-01-02 23:21:01 +08:00
robust.c Run codespell -w against all files 2020-02-22 14:41:36 -06:00
roundrobin.c apps/testing: Move apps/examples/ostest to apps/testing/ostest. 2018-12-12 16:37:38 -06:00
sem.c apps/testing: Move apps/examples/ostest to apps/testing/ostest. 2018-12-12 16:37:38 -06:00
semtimed.c apps/testing: Move apps/examples/ostest to apps/testing/ostest. 2018-12-12 16:37:38 -06:00
setvbuf.c testing/ostest/setvbuf.c: Fix several errors in the setvbuf() test. 2019-02-25 18:15:23 -06:00
sigev_thread.c nxstyle fixes for PR 170 2020-04-11 20:32:53 +01:00
sighand.c testing/ostest/sighand.c: Fix printf format warnings 2020-11-13 05:51:23 -08:00
signest.c testing/ostest/signest.c: Fix a printf warning 2020-11-09 04:10:59 -08:00
sigprocmask.c apps/testing: Move apps/examples/ostest to apps/testing/ostest. 2018-12-12 16:37:38 -06:00
specific.c Run codespell -w with the latest dictonary again 2020-02-23 07:10:14 -06:00
sporadic.c Extend Testing of Sporadic Schedule in OS test 2021-03-18 19:57:58 -07:00
sporadic2.c OS test: Improve reporting from the dual thread sporadic test 2021-03-19 23:11:35 -07:00
suspend.c Merged in zhoukejun/apps_nucleo_f767zi (pull request #171) 2019-03-11 19:22:25 +00:00
timedmqueue.c apps: update mqueue_open usage 2021-01-03 21:23:34 -06:00
timedmutex.c Unify the void cast usage 2020-01-02 23:21:01 +08:00
timedwait.c apps/testing: Move apps/examples/ostest to apps/testing/ostest. 2018-12-12 16:37:38 -06:00
tls.c Remove CONFIG_TLS 2020-05-07 17:29:02 +01:00
vfork.c apps/testing: Move apps/examples/ostest to apps/testing/ostest. 2018-12-12 16:37:38 -06:00
waitpid.c Run codespell -w with the latest dictonary again 2020-02-23 07:10:14 -06:00