summary refs log tree commit diff stats
path: root/init_test.go
blob: bffe036a97f5272041a206dd0d4af6677f3f029b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package main

import (
	"fmt"
	"log"
	"os"
)

var testport = fmt.Sprintf(":%v", confObj.Port)
var hasInit = false

func initTestConf() {
	if !hasInit {
		initConfig()
		tmpls = initTemplates()
		logToNull()
		hasInit = true
	}
}

func logToNull() {
	hush, err := os.Open("/dev/null")
	if err != nil {
		log.Printf("%v\n", err)
	}
	log.SetOutput(hush)
}
gt; 2015-10-21 15:07:49 +0200 Use consistent style for pointers' href='/danisanti/profani-tty/commit/src/window_list.h?id=3b0f7e109c5c41d29635e518fc4a241cfade84a1'>3b0f7e10 ^
5f393a6d ^
070547a7 ^
8f45f332 ^
67abfaa2 ^
292c9cf4 ^
30116dd9 ^

8f45f332 ^
3b0f7e10 ^

abc2f0de ^
3b0f7e10 ^
a952776b ^
3b0f7e10 ^
41fe8c22 ^
3b0f7e10 ^
0146e625 ^
1a7eb007 ^
1926ceea ^
3b0f7e10 ^
0146e625 ^
601a8803 ^
0146e625 ^
3b0f7e10 ^
7123e94e ^
0146e625 ^
3b0f7e10 ^

e8420e72 ^
601a8803 ^



601a8803 ^
83422656 ^
601a8803 ^

3b0f7e10 ^

601a8803 ^
13675fbf ^
601a8803 ^
0920b65d ^
bca37984 ^
3b0f7e10 ^
e96af853 ^
73262221 ^
cbe14d6e ^
601a8803 ^
6b830277 ^
e5447cf3 ^
6b830277 ^
2e99df1a ^
e5447cf3 ^
601a8803 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102