summaryrefslogtreecommitdiffstats
path: root/src/tests/modules/always/set_status_dead.unlang
blob: 6b29edea8648330d1de300740cc5bbc088d6ab3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
#  Set the module status to dead, call it and check that it fails
#
%{db_status:dead}

db_status {
	fail = 1
}

if (fail) {
	update reply {
		Filter-Id := "success"
	}
}

update control {
	Cleartext-Password := "hello"
}