aboutsummaryrefslogtreecommitdiffstats
path: root/tests/getrandom.awk
blob: 09d2a0f09139684d0c1910eb48b06be6a7f99f75 (plain)
1
2
3
4
5
6
7
8
9
10
11
BEGIN {
	r[1] = "^getrandom\\(\"(\\\\x[0-9a-f][0-9a-f]){3}\", 3, 0\\) += 3$"
	r[2] = "^getrandom\\(\"(\\\\x[0-9a-f][0-9a-f]){3}\"\\.\\.\\., 4, GRND_NONBLOCK\\) += 4$"
	r[3] = "^getrandom\\(0x[[0-9a-f]+, 4, GRND_NONBLOCK\\|GRND_RANDOM\\|0x3000\\) += -1 "
	s[4] = "+++ exited with 0 +++"

	lines = 4
	fail = 0
}

@include "match.awk"