Skip to content

Fix getcwd0[12] tests for Android devices

Sandeep Patil ltp 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 0 repliesNew

Changes in v2 from the cover letter

------
- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2getcwd01: Remove unnecessary usage of temporary directorytestcases/kernel/syscalls/getcwd/getcwd01.c+0 -61 reply
2/2android: getcwd02: use temp dir from $TMPDIR if presenttestcases/kernel/syscalls/getcwd/getcwd02.c+40 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [LTP] [PATCH v2 0/2] Fix getcwd0[12] tests for Android devices

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(-)
Signature · 1 line
2.14.1.342.g6490525c54-goog