[PATCH v3] test-container: Support $(complocaledir) and mkdirp.

DJ Delorie dj@redhat.com
Wed Apr 29 22:57:53 GMT 2020


"Carlos O'Donell" <carlos@redhat.com> writes:
> v3
> - Check errno for strtol.
>
> OK for master?

LGTM
Reviewed-by: DJ Delorie <dj@redhat.com>

> +	    else if (nt == 3 && strcmp (the_words[0], "mkdirp") == 0)
> +	      {
> +		long int m;
> +		errno = 0;
> +		m = strtol (the_words[1], NULL, 0);
> +		TEST_COMPARE (errno, 0);
> +		xmkdirp (the_words[2], m);
> +	      }
>  	    else if (nt > 0 && the_words[0][0] != '#')

Ok.



More information about the Libc-alpha mailing list