s4:torture:raw:notify: remove CHECK_WSTR2.
authorMichael Adam <obnox@samba.org>
Thu, 26 Mar 2015 17:58:05 +0000 (18:58 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 30 Mar 2015 11:41:26 +0000 (13:41 +0200)
commitd9e01f1d77c2ff87a9dc31cdf1789a3df785cd4c
tree26fa4816c8aa3c6afc674bdf957ba3ff9ca15782
parent8d1d1e0f06860170697dbe0132df76b00a8ca9f5
s4:torture:raw:notify: remove CHECK_WSTR2.

The original CHECK_WSTR() macro was not setting torture failure,
leading to errors instead of propoer failures.

The original CHECK_WSTR2() macro was exactly like the CHECK_WSTR
macro but using propoer torture_result() calls.

This patch removes the original CHECK_WSTR(), renames CHECK_WSTR2
to CHECK_WSTR and adapts the callers, hence removing the source
of many potential missing torture_assert messages.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source4/torture/raw/notify.c