r2840 - trunk/varnish-cache/bin/varnishtest

phk at projects.linpro.no phk at projects.linpro.no
Fri Jun 27 00:14:02 CEST 2008


Author: phk
Date: 2008-06-27 00:14:02 +0200 (Fri, 27 Jun 2008)
New Revision: 2840

Modified:
   trunk/varnish-cache/bin/varnishtest/vtc.c
Log:
Drop a _.ok file if we are all done.



Modified: trunk/varnish-cache/bin/varnishtest/vtc.c
===================================================================
--- trunk/varnish-cache/bin/varnishtest/vtc.c	2008-06-26 22:12:23 UTC (rev 2839)
+++ trunk/varnish-cache/bin/varnishtest/vtc.c	2008-06-26 22:14:02 UTC (rev 2840)
@@ -308,6 +308,7 @@
 main(int argc, char * const *argv)
 {
 	int ch;
+	FILE *fok;
 
 	setbuf(stdout, NULL);
 	setbuf(stderr, NULL);
@@ -330,5 +331,8 @@
 	argv += optind;
 	for (ch = 0; ch < argc; ch++)
 		exec_file(argv[ch]);
+	fok = fopen("_.ok", "w");
+	if (fok != NULL)
+		fclose(fok);
 	return (0);
 }




More information about the varnish-commit mailing list