From: Akim Demaille Date: Fri, 20 Jul 2012 16:18:47 +0000 (+0200) Subject: tests: fix VPATH issue X-Git-Tag: v2.7.90~399 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/b611359d905d5f349015b3561781838580853fd8 tests: fix VPATH issue * examples/test: With an absolute VPATH build, "../" is incorrect. --- diff --git a/examples/test b/examples/test index 7bf6dab6..d320a288 100755 --- a/examples/test +++ b/examples/test @@ -74,6 +74,9 @@ run () } # We have cd'd one level deeper. -. "../$1" +case $1 in + /*) . "$1";; + *) . "../$1";; +esac $exit