From 918f0ad95b73e506d20488cb8ddd35d1a2524c7c Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Wed, 12 Dec 2007 11:53:38 +0000 Subject: Disable old symbol versions if __UCLIBC__ is defined --- test/test.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/test.c') 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); -- cgit v1.2.3