projects
/
platform
/
upstream
/
csr-framework.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45f01e1
)
Check return value of chdir to fix warning
32/106332/1
author
Kyungwook Tak
<k.tak@samsung.com>
Wed, 21 Dec 2016 09:50:37 +0000
(18:50 +0900)
committer
Kyungwook Tak
<k.tak@samsung.com>
Wed, 21 Dec 2016 09:50:56 +0000
(18:50 +0900)
Change-Id: I10e1fd04d27734fbc060b1626cb248b5008f9bb4
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
test/test-common.h
patch
|
blob
|
history
diff --git
a/test/test-common.h
b/test/test-common.h
index
cdec29a
..
1a99416
100644
(file)
--- a/
test/test-common.h
+++ b/
test/test-common.h
@@
-223,7
+223,8
@@
public:
~ScopedChDir()
{
- ::chdir(cdbuf);
+ if (::chdir(cdbuf) == -1)
+ BOOST_MESSAGE("chdir failed but ignore");
}
private: