public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v2 0/2] Fix getcwd0[12] tests for Android devices
@ 2017-08-28 16:40 Sandeep Patil
  2017-08-28 16:40 ` [LTP] [PATCH v2 1/2] getcwd01: Remove unnecessary usage of temporary directory Sandeep Patil
  2017-08-28 16:40 ` [LTP] [PATCH v2 2/2] android: getcwd02: use temp dir from $TMPDIR if present Sandeep Patil
  0 siblings, 2 replies; 5+ messages in thread
From: Sandeep Patil @ 2017-08-28 16:40 UTC (permalink / raw)
  To: ltp

Removes the unnecessary usage of temporary directory from getcwd01 and
falls back to the directory pointed to by $TMPDIR if "/tmp" doesn't exist
in getcwd02 test.

v1->v2
------
- Split the patch into separate patches for getcwd01 and getcwd02
- Remove the unnecessary header added in v1 (getcwd_helper.h)
- Change the fallback order for tmpdir in getcwd02 as pointed in v1 review

Sandeep Patil (2):
  getcwd01: Remove unnecessary usage of temporary directory
  android: getcwd02: use temp dir from $TMPDIR if present

 testcases/kernel/syscalls/getcwd/getcwd01.c |  6 ----
 testcases/kernel/syscalls/getcwd/getcwd02.c | 43 +++++++++++++++++++++++++++--
 2 files changed, 40 insertions(+), 9 deletions(-)

-- 
2.14.1.342.g6490525c54-goog


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-08-29 11:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-28 16:40 [LTP] [PATCH v2 0/2] Fix getcwd0[12] tests for Android devices Sandeep Patil
2017-08-28 16:40 ` [LTP] [PATCH v2 1/2] getcwd01: Remove unnecessary usage of temporary directory Sandeep Patil
2017-08-29 11:21   ` Cyril Hrubis
2017-08-28 16:40 ` [LTP] [PATCH v2 2/2] android: getcwd02: use temp dir from $TMPDIR if present Sandeep Patil
2017-08-29 11:22   ` Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox