From: tasn Date: Sun, 15 Jan 2012 11:08:02 +0000 (+0000) Subject: Eet tests: Added an hack to test what's wrong with the build bot. X-Git-Tag: 2.0_alpha~26^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3c26a657c5c78007b116ad0e070ef9a5cc1a3837;hp=83bae9a61bc311b20f4d123628e029634fbacaef;p=framework%2Fuifw%2Feet.git Eet tests: Added an hack to test what's wrong with the build bot. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eet@67229 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/tests/eet_suite.c b/src/tests/eet_suite.c index 6d06da8..afff25c 100644 --- a/src/tests/eet_suite.c +++ b/src/tests/eet_suite.c @@ -1642,7 +1642,16 @@ START_TEST(eet_identity_simple) eet_init(); fail_if(!(file = tmpnam(file))); - fail_if(chdir(CERT_DIR)); + /* Hack to fix issue in buildbot. */ + int chret = chdir(CERT_DIR); + if (chret) + { + static char CWD[1024]; + getcwd(CWD, 1024); + perror(NULL); + printf("TAsn: '%s' '%s'\n", CWD, CERT_DIR); + } + fail_if(chret); fail_if(!(noread = fopen("/dev/null", "w"))); /* Sign an eet file. */