Fix tests when SHELL=bash #37

Merged
bdrewery merged 1 commits from fix-tests-with-bash into master 2012-08-26 03:06:01 +00:00
bdrewery commented 2012-08-25 23:47:09 +00:00 (Migrated from github.com)

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.
The QUOTED test was failing to properly recognize the expected output. <pre> /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. </pre> Tested patch with sh, bash and zsh: <pre> # 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. </pre>
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ariadne/pkgconf#37
There is no content yet.