summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2012-01-15 11:08:02 +0000
committerTom Hacohen <tom@stosb.com>2012-01-15 11:08:02 +0000
commitece81693b7fcc2929508ef1624abea9a1033f697 (patch)
tree41711aba94052a26b8abeb5ff0669a8bcb0bbe5a
parent3f0a3717ad65b3c8d39e878802d5d0c71f91d1f8 (diff)
downloadeet-ece81693b7fcc2929508ef1624abea9a1033f697.tar.gz
Eet tests: Added an hack to test what's wrong with the build bot.
SVN revision: 67229
-rw-r--r--src/tests/eet_suite.c11
1 files changed, 10 insertions, 1 deletions
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. */