From 3d05834dbaec1379f24803118e7bdaf5a3b3be90 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 24 Mar 2023 18:17:10 +0000 Subject: [PATCH] tests: remove non-applicable ${1} handling The arg was never set. Furthermore as-is shellcheck cannot realistically evaluate the included source. Signed-off-by: Emil Velikov --- test/test_mangle | 2 +- test/test_option_twiddling | 2 +- test/test_valid_number_of_base | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_mangle b/test/test_mangle index 2d0e382..558baf7 100755 --- a/test/test_mangle +++ b/test/test_mangle @@ -1,6 +1,6 @@ #!/bin/bash -. "${1:-./fstab-helpers}" +. ./fstab-helpers . ./test/common ASSERT_streq ' deleted' "$(unmangle "$(mangle ' deleted')")" diff --git a/test/test_option_twiddling b/test/test_option_twiddling index 665fc5d..793e848 100755 --- a/test/test_option_twiddling +++ b/test/test_option_twiddling @@ -1,6 +1,6 @@ #!/bin/bash -. "${1:-./fstab-helpers}" +. ./fstab-helpers . ./test/common optstring=rw,relatime,fd=29,pgrp=1,timeout=300,minproto=5,maxproto=5,direct diff --git a/test/test_valid_number_of_base b/test/test_valid_number_of_base index d31c8e4..08e5d5b 100755 --- a/test/test_valid_number_of_base +++ b/test/test_valid_number_of_base @@ -1,6 +1,6 @@ #!/bin/bash -. "${1:-./fstab-helpers}" +. ./fstab-helpers . ./test/common EXPECT_success valid_number_of_base 16 feedfacebeef