vtest "Cleanly stop a VUT app via vtc process -stop"

vinyl v1 -vcl {
	backend be {
		.host = "${bad_backend}";
	}
} -start

process p1 {
	exec vinylncsa -n ${v1_name} -P ${tmpdir}/ncsa.pid -w ${tmpdir}/ncsa.log
} -start

delay 1

process p1 -expect-exit 0 -stop -wait

# Expect empty stderr output
shell -match {^[	 ]*0\b} "wc -c ${tmpdir}/p1/stderr"
