[master] da1d336 Polish
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Mon Feb 22 16:26:52 CET 2016
commit da1d3365efcb635fdfce371aa710c7fc637d8d82
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Sun Feb 21 20:28:53 2016 +0100
Polish
diff --git a/bin/varnishtest/vtc_main.c b/bin/varnishtest/vtc_main.c
index ecca005..0f00a80 100644
--- a/bin/varnishtest/vtc_main.c
+++ b/bin/varnishtest/vtc_main.c
@@ -324,6 +324,7 @@ i_mode(void)
*/
vsb = VSB_new_auto();
+ AN(vsb);
q = p = VFIL_readfile(NULL, "Makefile", NULL);
if (p == NULL) {
@@ -361,12 +362,11 @@ i_mode(void)
/*
* Build $PATH which can find all programs in the build tree
*/
- AN(vsb);
VSB_printf(vsb, "PATH=");
sep = "";
#define VTC_PROG(l) \
do { \
- VSB_printf(vsb, "%s%s/bin/%s/", sep, topbuild, #l); \
+ VSB_printf(vsb, "%s%s/bin/" #l, sep, topbuild); \
sep = ":"; \
} while (0);
#include "programs.h"
More information about the varnish-commit
mailing list