From 8ed17b019ab69d26abddd2c68779666a8fede5fe Mon Sep 17 00:00:00 2001 From: Nicolas Dechesne Date: Wed, 13 Jun 2018 18:09:44 +0200 Subject: [PATCH] helpers/*: use '.' not 'source' The 'source' command is a bashism, and not in the POSIX standard. So it fails when using POSIX compliant shell such as Dash which is the default on Debian. Using the '.' command is equivalent to using source, and is POSIX compliant. Signed-off-by: Nicolas Dechesne --- helpers/assert_device_present | 2 +- helpers/assert_driver_present | 2 +- helpers/ensure_lib_firmware | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/helpers/assert_device_present b/helpers/assert_device_present index 584bdf1..bdfa6b6 100755 --- a/helpers/assert_device_present +++ b/helpers/assert_device_present @@ -1,6 +1,6 @@ #!/bin/sh -source bootrr +. bootrr TEST_CASE_ID="$1" DRIVER="$2" diff --git a/helpers/assert_driver_present b/helpers/assert_driver_present index 719af8a..b7c4819 100755 --- a/helpers/assert_driver_present +++ b/helpers/assert_driver_present @@ -1,6 +1,6 @@ #!/bin/sh -source bootrr +. bootrr TEST_CASE_ID="$1" DRIVER="$2" diff --git a/helpers/ensure_lib_firmware b/helpers/ensure_lib_firmware index f64a493..92e9cfc 100755 --- a/helpers/ensure_lib_firmware +++ b/helpers/ensure_lib_firmware @@ -1,6 +1,6 @@ #!/bin/sh -source bootrr +. bootrr TEST_CASE_ID="$1" PARTITION=/dev/disk/by-partlabel/userdata