diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2007-12-12 11:53:38 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2007-12-12 11:53:38 +0000 |
commit | 918f0ad95b73e506d20488cb8ddd35d1a2524c7c (patch) | |
tree | c2adf3e3c71b94c59b8d64beb9a0ab83ab87119c /test/test.c | |
parent | 0b47f6bc8bfe939f12266ef41cba31a2eb2c5f30 (diff) | |
download | libfuse-918f0ad95b73e506d20488cb8ddd35d1a2524c7c.tar.gz |
Disable old symbol versions if __UCLIBC__ is defined
Diffstat (limited to 'test/test.c')
-rw-r--r-- | test/test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test.c b/test/test.c index c1646d2..f9aa823 100644 --- a/test/test.c +++ b/test/test.c @@ -1254,6 +1254,10 @@ int main(int argc, char *argv[]) } basepath = argv[1]; assert(strlen(basepath) < 512); + if (basepath[0] != '/') { + fprintf(stderr, "testdir must be an absolute path\n"); + return 1; + } sprintf(testfile, "%s/testfile", basepath); sprintf(testfile2, "%s/testfile2", basepath); |