nuttx-apps/testing/ostest
Gregory Nutt dd7c3bfa53 apps/testing/ostest: Add test for required argument format
The Linux man page requires that the getopt_long() and getopt_long_only() functions accept arguments to options in a form like:

    --option=argument

This PR adds a test that missing functionality that was recently added to NuttX.

This change also fixes an error in string comparison that was working before only because of the way that strings are stored by in linker ELF.  The address of the strings were being compared, not the value of the string.

This change effects only the getopt() tests of the OS test.

Tested on a simulator NSH configuration and used to verify the NuttX change.
2021-04-04 14:14:21 -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 apps/testing/ostest: Add test for required argument format 2021-04-04 14:14:21 -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_main.c testing/ostest: Add a test of the getopt() family of interfaces. 2021-04-03 01:07:34 -05:00
ostest.h 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_cancel.c Unify the void cast usage 2020-01-02 23:21:01 +08:00
pthread_rwlock.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
sporadic2.c OS test: Improve reporting from the dual thread sporadic test 2021-03-19 23:11:35 -07:00
sporadic.c Extend Testing of Sporadic Schedule in OS test 2021-03-18 19:57:58 -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