Skip to content
Commit 7378b1f8 authored by Stefan Liebler's avatar Stefan Liebler Committed by H.J. Lu
Browse files

Update tst_mbrlen/tst_mbrtowc for mblen change

commit 9781a370 changed the expected
results for mbrlen in case of passing n=0 to -2. The initialization of
tst_mbrlen_loc and tst_mbrtowc should be updated accordingly.

	* tests-mbwc/dat_mbrlen.c (tst_mbrlen_loc): Change expected
	result to -2 in case of n == 0.
	* tests-mbwc/tst_mbrtowc.c (tst_mbrtowc): Check result against
	-2 instead of 0.
parent 5556d30c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment