Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b091cc
)
Allow unlink to be done on another node, to test multi-client openunlink
author
adilger
<adilger>
Wed, 30 Oct 2002 00:15:12 +0000
(
00:15
+0000)
committer
adilger
<adilger>
Wed, 30 Oct 2002 00:15:12 +0000
(
00:15
+0000)
handling on OST.
lustre/tests/openunlink.c
patch
|
blob
|
history
diff --git
a/lustre/tests/openunlink.c
b/lustre/tests/openunlink.c
index
edb1ff9
..
3d5904d
100644
(file)
--- a/
lustre/tests/openunlink.c
+++ b/
lustre/tests/openunlink.c
@@
-49,12
+49,17
@@
int main(int argc, char **argv)
exit(1);
}
+#if 0
fprintf(stderr, "unlinking\n");
rc = unlink(argv[1]);
if (rc) {
fprintf(stderr, "unlink %s\n", strerror(errno));
exit(1);
}
+#else
+ printf("unlink %s and press enter\n", argv[1]);
+ getc(stdin);
+#endif
fprintf(stderr, "reading\n");
rc = read(fd, buf, strlen(T1) + 1);