tests: fix VPATH issue

* examples/test: With an absolute VPATH build, "../" is incorrect.
This commit is contained in:
Akim Demaille
2012-07-20 18:18:47 +02:00
parent 3eb4f1a3e6
commit b611359d90

View File

@@ -74,6 +74,9 @@ run ()
}
# We have cd'd one level deeper.
. "../$1"
case $1 in
/*) . "$1";;
*) . "../$1";;
esac
$exit