TC: Expand tc for libc/unistd module
authorLokesh B V <lokesh.bv@partner.samsung.com>
Wed, 19 Jul 2017 07:08:01 +0000 (12:38 +0530)
committerLokesh B V <lokesh.bv@partner.samsung.com>
Tue, 1 Aug 2017 09:55:10 +0000 (15:25 +0530)
commit111a43e449f56d853e3b8a69d2946f30831a01e6
tree3e2f77f5045c73cafd5d447fc4cca3f5fd2047b8
parentceb6f1891f723c39a0a6cfedc04762be8df80d56
TC: Expand tc for libc/unistd module

1) Expands tc for getcwd().
   - failure case for invalid buffer size.
   - failure case when "PWD" is not defined.
2) Adds tc for chdir(), where input directory is not a directory.
3) Adds tc for access() API.
4) Adds tc fot getopt(), getoptargp(), getoptindp() and getoptoptp() API's

Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
apps/examples/testcase/le_tc/kernel/tc_libc_unistd.c