git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r10432: BUG 3080: fix 'net rpc shutdown' for XP clients
[ira/wip.git]
/
source3
/
tests
/
fcntl_lock.c
diff --git
a/source3/tests/fcntl_lock.c
b/source3/tests/fcntl_lock.c
index d03efb35b33b9940084e6b64227ff3ecd01b2ebd..3dc12a389739fbeb6cce4d87a2e9b1b961c2f86d 100644
(file)
--- a/
source3/tests/fcntl_lock.c
+++ b/
source3/tests/fcntl_lock.c
@@
-43,6
+43,10
@@
int main(int argc, char *argv[])
struct flock lock;
int fd, ret, status=1;
pid_t pid;
+ char *testdir = NULL;
+
+ testdir = getenv("TESTDIR");
+ if (testdir) chdir(testdir);
alarm(10);