pkgconf/pkgconf — pull request #37 by bdrewery (2012-08-25 23:47:09+00:00)
Title: Fix tests when SHELL=bash

The QUOTED test was failing to properly recognize
the expected output.

/bin/bash tests/run.sh ./pkgconf
...................................................
***********************
!!! Test 51 failed.
!!! $ PKG_CONFIG_PATH=/root/git/pkgconf/tests/lib1 ./pkgconf --cflags quotes
!!! -DQUOTED=\"bla\"
!!! expected '-DQUOTED=\"bla\"' in output
***********************
.....
1 of 57 tests failed. See output for details.
*** Error code 1

Stop in /root/git/pkgconf.

Tested patch with sh, bash and zsh:

# zsh tests/run.sh ./pkgconf
.........................................................
57 tests done. All succeeded.

# sh tests/run.sh ./pkgconf
.........................................................
57 tests done. All succeeded.

# bash tests/run.sh ./pkgconf
.........................................................
57 tests done. All succeeded.