From b611359d905d5f349015b3561781838580853fd8 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Fri, 20 Jul 2012 18:18:47 +0200 Subject: [PATCH] tests: fix VPATH issue * examples/test: With an absolute VPATH build, "../" is incorrect. --- examples/test | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.47.2