summaryrefslogtreecommitdiff
path: root/tests/vsp-unit-test-0001.sh
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2017-08-23 23:41:03 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2017-08-24 12:33:12 +0300
commit26412613678344ef6fdaf46a1e5c914b42249b16 (patch)
treef6c71217681dbf113e9db31d083c888101a0f311 /tests/vsp-unit-test-0001.sh
parenta410195b43a5d69e60346b85b97b67f41b59382c (diff)
tests: Use POSIX '.' as 'source'
On posix shells, only the '.' command is supported. Even when running on a full bash shell, the file to source should be either fully or locally qualified to avoid picking up a stray version available in $PATH. Fix both issues by swapping to the posix standard Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'tests/vsp-unit-test-0001.sh')
-rwxr-xr-xtests/vsp-unit-test-0001.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vsp-unit-test-0001.sh b/tests/vsp-unit-test-0001.sh
index 727ead7..746e652 100755
--- a/tests/vsp-unit-test-0001.sh
+++ b/tests/vsp-unit-test-0001.sh
@@ -6,7 +6,7 @@
# by the WPF.
#
-source vsp-lib.sh
+. ./vsp-lib.sh
features="rpf.0 wpf.0"
formats="RGB332 ARGB555 XRGB555 RGB565 BGR24 RGB24 ABGR32 ARGB32 XBGR32 XRGB32"