tests/example.c: Use errno = ENOMEM.
authorSimon Ruderich <simon@ruderich.org>
Mon, 17 Jun 2013 21:28:07 +0000 (23:28 +0200)
committerSimon Ruderich <simon@ruderich.org>
Mon, 17 Jun 2013 21:28:07 +0000 (23:28 +0200)
commit85699d0263e9cd5014ea45e38cb9cd79284fc39b
treecbefde85f93787de0e00ca82dd918b5329256ca3
parenta63fef43c2d1e9c111f3da0fc3f8deb7f1b3024d
tests/example.c: Use errno = ENOMEM.

The output from errno = 0 is less portable.
tests/example.c
tests/example.expected
tests/example_environment_empty.expected