From: Masatake YAMATO Date: Wed, 23 Nov 2022 07:03:37 +0000 (+0900) Subject: tests: wrap $TS_{TOPDIR,SELF} in "." cmdline with double quote chars X-Git-Tag: v2.39-rc1~407 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7155e836defb336536d39dd9aed57770c55b1aa9;p=thirdparty%2Futil-linux.git tests: wrap $TS_{TOPDIR,SELF} in "." cmdline with double quote chars The command lines used for this change: $ cd tests/ts $ sed -i -e 's|. $TS_SELF/|. "$TS_SELF"/|' $(grep --exclude='*~' -lr -e '^\. \$TS_SELF/') $ sed -i -e 's|. $TS_TOPDIR/functions.sh|. "$TS_TOPDIR"/functions.sh|' $(grep --exclude='*~' -lr -e '^\. \$TS_TOPDIR/functions.sh') Signed-off-by: Masatake YAMATO --- diff --git a/tests/ts/bitops/swapbytes b/tests/ts/bitops/swapbytes index 798ad53c6c..127261738b 100755 --- a/tests/ts/bitops/swapbytes +++ b/tests/ts/bitops/swapbytes @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="swap bytes" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_BYTESWAP" diff --git a/tests/ts/blkdiscard/offsets b/tests/ts/blkdiscard/offsets index 5e724d51b4..21bb78af3b 100755 --- a/tests/ts/blkdiscard/offsets +++ b/tests/ts/blkdiscard/offsets @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="offsets" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_BLKDISCARD" diff --git a/tests/ts/blkid/dm-err b/tests/ts/blkid/dm-err index fb6c179d0a..a23b2e0515 100755 --- a/tests/ts/blkid/dm-err +++ b/tests/ts/blkid/dm-err @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="DM error" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_BLKID" diff --git a/tests/ts/blkid/low-probe b/tests/ts/blkid/low-probe index 3847653cd0..27a074b220 100755 --- a/tests/ts/blkid/low-probe +++ b/tests/ts/blkid/low-probe @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="superblocks probing" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" diff --git a/tests/ts/blkid/lowprobe-pt b/tests/ts/blkid/lowprobe-pt index 2177de98e1..8e55ccc9bd 100755 --- a/tests/ts/blkid/lowprobe-pt +++ b/tests/ts/blkid/lowprobe-pt @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="partitions probing" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" diff --git a/tests/ts/blkid/md-raid0-whole b/tests/ts/blkid/md-raid0-whole index c37f1d62e1..0c957abbf7 100755 --- a/tests/ts/blkid/md-raid0-whole +++ b/tests/ts/blkid/md-raid0-whole @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="MD raid0 (whole-disks)" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FDISK" diff --git a/tests/ts/blkid/md-raid1-part b/tests/ts/blkid/md-raid1-part index ea61519ef2..b0ef82295e 100755 --- a/tests/ts/blkid/md-raid1-part +++ b/tests/ts/blkid/md-raid1-part @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="MD raid1 (last partition)" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FDISK" diff --git a/tests/ts/blkid/md-raid1-whole b/tests/ts/blkid/md-raid1-whole index d121354799..1199fab4fe 100755 --- a/tests/ts/blkid/md-raid1-whole +++ b/tests/ts/blkid/md-raid1-whole @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="MD raid1 (whole-disks)" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FDISK" diff --git a/tests/ts/build-sys/config b/tests/ts/build-sys/config index 1adefd327a..764492d7b5 100755 --- a/tests/ts/build-sys/config +++ b/tests/ts/build-sys/config @@ -8,7 +8,7 @@ TS_DESC="config" # Don't execute this test by default, --force required TS_OPTIONAL="yes" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_prog "readelf" diff --git a/tests/ts/cal/bigyear b/tests/ts/cal/bigyear index 34139fd275..25c54f5c9e 100755 --- a/tests/ts/cal/bigyear +++ b/tests/ts/cal/bigyear @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="Year 2147483646" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_CAL" diff --git a/tests/ts/cal/color b/tests/ts/cal/color index 2e89412d9a..e6fe375bcd 100755 --- a/tests/ts/cal/color +++ b/tests/ts/cal/color @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="color" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_CAL" diff --git a/tests/ts/cal/colorw b/tests/ts/cal/colorw index 9be3998c5d..e26c2e3eff 100755 --- a/tests/ts/cal/colorw +++ b/tests/ts/cal/colorw @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="color with week numbers" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_CAL" diff --git a/tests/ts/cal/jan1753 b/tests/ts/cal/jan1753 index 1be3db3b8b..5366e682f8 100755 --- a/tests/ts/cal/jan1753 +++ b/tests/ts/cal/jan1753 @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="January 1753" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_CAL" diff --git a/tests/ts/cal/month b/tests/ts/cal/month index 62fd1f9289..96ab1136ee 100755 --- a/tests/ts/cal/month +++ b/tests/ts/cal/month @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="month" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_CAL" diff --git a/tests/ts/cal/sep1752 b/tests/ts/cal/sep1752 index 41c30d40e8..0fe1ffd3b0 100755 --- a/tests/ts/cal/sep1752 +++ b/tests/ts/cal/sep1752 @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="September 1752" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_CAL" diff --git a/tests/ts/cal/vertical b/tests/ts/cal/vertical index f92f04225a..fe0b904de9 100755 --- a/tests/ts/cal/vertical +++ b/tests/ts/cal/vertical @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="vertical" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_CAL" diff --git a/tests/ts/cal/weekarg b/tests/ts/cal/weekarg index f51644a46c..8e0bd6f4b9 100755 --- a/tests/ts/cal/weekarg +++ b/tests/ts/cal/weekarg @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="week number given as argument" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_CAL" diff --git a/tests/ts/cal/weeknum b/tests/ts/cal/weeknum index f2aec9474c..444c50bbb5 100755 --- a/tests/ts/cal/weeknum +++ b/tests/ts/cal/weeknum @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="week number corner cases" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_CAL" diff --git a/tests/ts/cal/year b/tests/ts/cal/year index 6a8c42eaa9..6bd958a591 100755 --- a/tests/ts/cal/year +++ b/tests/ts/cal/year @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="year" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_CAL" diff --git a/tests/ts/chfn/gecos b/tests/ts/chfn/gecos index aad27d40a8..7c088274fb 100755 --- a/tests/ts/chfn/gecos +++ b/tests/ts/chfn/gecos @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="gecos" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_skip_nonroot diff --git a/tests/ts/col/io b/tests/ts/col/io index c7e0d09d80..9766683121 100755 --- a/tests/ts/col/io +++ b/tests/ts/col/io @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="io effects" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_COL" diff --git a/tests/ts/col/multibyte b/tests/ts/col/multibyte index 543608cab8..fa14a0af4b 100755 --- a/tests/ts/col/multibyte +++ b/tests/ts/col/multibyte @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="multibyte input" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_COL" diff --git a/tests/ts/col/newlines b/tests/ts/col/newlines index 209de0b775..8a6d9048d8 100755 --- a/tests/ts/col/newlines +++ b/tests/ts/col/newlines @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="newline handling" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_COL" diff --git a/tests/ts/col/options b/tests/ts/col/options index 50312203ab..6df11ae152 100755 --- a/tests/ts/col/options +++ b/tests/ts/col/options @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="options" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_COL" diff --git a/tests/ts/colcrt/functional b/tests/ts/colcrt/functional index c6d84f1555..26014b8dd0 100755 --- a/tests/ts/colcrt/functional +++ b/tests/ts/colcrt/functional @@ -18,7 +18,7 @@ TS_DESC="functional" export LC_CTYPE='C' -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_wcsspn diff --git a/tests/ts/colcrt/regressions b/tests/ts/colcrt/regressions index 975d5a184a..7bbba658be 100755 --- a/tests/ts/colcrt/regressions +++ b/tests/ts/colcrt/regressions @@ -16,7 +16,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="regressions" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_wcsspn diff --git a/tests/ts/colrm/rm2-2 b/tests/ts/colrm/rm2-2 index 061f5b8738..ed6e9627f5 100755 --- a/tests/ts/colrm/rm2-2 +++ b/tests/ts/colrm/rm2-2 @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="basic check" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_COLRM" diff --git a/tests/ts/column/columnate b/tests/ts/column/columnate index ebeb0c44f4..9bd53a71f6 100755 --- a/tests/ts/column/columnate +++ b/tests/ts/column/columnate @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="columnate" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_COLUMN" diff --git a/tests/ts/column/invalid-multibyte b/tests/ts/column/invalid-multibyte index f3d643e25c..32cc3f3a4e 100755 --- a/tests/ts/column/invalid-multibyte +++ b/tests/ts/column/invalid-multibyte @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="invalid multibyte" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_COLUMN" diff --git a/tests/ts/column/multi-file b/tests/ts/column/multi-file index fa2b2cb99e..28c3689f52 100755 --- a/tests/ts/column/multi-file +++ b/tests/ts/column/multi-file @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="multiple files" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_COLUMN" diff --git a/tests/ts/column/table b/tests/ts/column/table index 83139f012d..ca01b060a1 100755 --- a/tests/ts/column/table +++ b/tests/ts/column/table @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="table" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_wcsspn diff --git a/tests/ts/cramfs/doubles b/tests/ts/cramfs/doubles index eb2c7fa0f1..d81daf1e34 100755 --- a/tests/ts/cramfs/doubles +++ b/tests/ts/cramfs/doubles @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="mkfs doubles" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MKCRAMFS" diff --git a/tests/ts/cramfs/fsck-bad-header b/tests/ts/cramfs/fsck-bad-header index 95d8274ff4..d834b24cc0 100755 --- a/tests/ts/cramfs/fsck-bad-header +++ b/tests/ts/cramfs/fsck-bad-header @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="fsck bad header" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MKCRAMFS" diff --git a/tests/ts/cramfs/fsck-endianness b/tests/ts/cramfs/fsck-endianness index bcfb46c905..53af53e3fb 100755 --- a/tests/ts/cramfs/fsck-endianness +++ b/tests/ts/cramfs/fsck-endianness @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="fsck endianness" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MKCRAMFS" diff --git a/tests/ts/cramfs/mkfs b/tests/ts/cramfs/mkfs index 90630ebf7c..1e415d8263 100755 --- a/tests/ts/cramfs/mkfs +++ b/tests/ts/cramfs/mkfs @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="mkfs checksums" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MKCRAMFS" diff --git a/tests/ts/cramfs/mkfs-endianness b/tests/ts/cramfs/mkfs-endianness index 91d476579e..d10e1e1698 100755 --- a/tests/ts/cramfs/mkfs-endianness +++ b/tests/ts/cramfs/mkfs-endianness @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="mkfs endianness" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MKCRAMFS" diff --git a/tests/ts/dmesg/colors b/tests/ts/dmesg/colors index 156cb1ece7..d762b98640 100755 --- a/tests/ts/dmesg/colors +++ b/tests/ts/dmesg/colors @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="colors" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_DMESG" diff --git a/tests/ts/dmesg/console-levels b/tests/ts/dmesg/console-levels index f6a64e3b30..10b7a9cf51 100755 --- a/tests/ts/dmesg/console-levels +++ b/tests/ts/dmesg/console-levels @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="levels" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_DMESG" diff --git a/tests/ts/dmesg/decode b/tests/ts/dmesg/decode index ada2eacdfc..673f2bba1a 100755 --- a/tests/ts/dmesg/decode +++ b/tests/ts/dmesg/decode @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="decode" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_DMESG" diff --git a/tests/ts/dmesg/delta b/tests/ts/dmesg/delta index a0983ccc22..83d862943a 100755 --- a/tests/ts/dmesg/delta +++ b/tests/ts/dmesg/delta @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="delta" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_DMESG" diff --git a/tests/ts/dmesg/facilities b/tests/ts/dmesg/facilities index d004a4f2e5..13dd6c6dfe 100755 --- a/tests/ts/dmesg/facilities +++ b/tests/ts/dmesg/facilities @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="facilities" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_DMESG" diff --git a/tests/ts/dmesg/indentation b/tests/ts/dmesg/indentation index 0e026d02c8..a4f8e1cf53 100755 --- a/tests/ts/dmesg/indentation +++ b/tests/ts/dmesg/indentation @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="indentation" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_DMESG" diff --git a/tests/ts/eject/umount b/tests/ts/eject/umount index a6d1f251df..838ee9cf49 100755 --- a/tests/ts/eject/umount +++ b/tests/ts/eject/umount @@ -3,7 +3,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="umount" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_skip_nonroot diff --git a/tests/ts/fdisk/align-512-4K b/tests/ts/fdisk/align-512-4K index 88e99cbd88..d44c6df090 100755 --- a/tests/ts/fdisk/align-512-4K +++ b/tests/ts/fdisk/align-512-4K @@ -23,7 +23,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="align 512/4K" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FDISK" diff --git a/tests/ts/fdisk/align-512-4K-63 b/tests/ts/fdisk/align-512-4K-63 index 325a5d47bc..3d66899135 100755 --- a/tests/ts/fdisk/align-512-4K-63 +++ b/tests/ts/fdisk/align-512-4K-63 @@ -23,7 +23,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="align 512/4K +alignment_offset" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FDISK" diff --git a/tests/ts/fdisk/align-512-4K-md b/tests/ts/fdisk/align-512-4K-md index 0f40405417..1e0dd3c938 100755 --- a/tests/ts/fdisk/align-512-4K-md +++ b/tests/ts/fdisk/align-512-4K-md @@ -23,7 +23,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="align 512/4K +MD" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FDISK" diff --git a/tests/ts/fdisk/align-512-512 b/tests/ts/fdisk/align-512-512 index cda13211a7..e61110f1c8 100755 --- a/tests/ts/fdisk/align-512-512 +++ b/tests/ts/fdisk/align-512-512 @@ -22,7 +22,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="align 512/512" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FDISK" diff --git a/tests/ts/fdisk/align-512-512-topology b/tests/ts/fdisk/align-512-512-topology index 3ccb1a9007..cdb7269cbc 100755 --- a/tests/ts/fdisk/align-512-512-topology +++ b/tests/ts/fdisk/align-512-512-topology @@ -23,7 +23,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="align 512/512 +topology" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FDISK" diff --git a/tests/ts/fdisk/bsd b/tests/ts/fdisk/bsd index 9ce272386b..8477f929e9 100755 --- a/tests/ts/fdisk/bsd +++ b/tests/ts/fdisk/bsd @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="nested BSD" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FDISK" diff --git a/tests/ts/fdisk/gpt b/tests/ts/fdisk/gpt index 18e4fab608..d1c76da3e1 100755 --- a/tests/ts/fdisk/gpt +++ b/tests/ts/fdisk/gpt @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="GPT" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FDISK" diff --git a/tests/ts/fdisk/gpt-resize b/tests/ts/fdisk/gpt-resize index a5d248a3d0..198f38e5f2 100755 --- a/tests/ts/fdisk/gpt-resize +++ b/tests/ts/fdisk/gpt-resize @@ -21,7 +21,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="gpt-resize" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_skip_nonroot diff --git a/tests/ts/fdisk/id b/tests/ts/fdisk/id index c52e44b245..57fbc60c0c 100755 --- a/tests/ts/fdisk/id +++ b/tests/ts/fdisk/id @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="MBR - id" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FDISK" diff --git a/tests/ts/fdisk/mbr-dos-mode b/tests/ts/fdisk/mbr-dos-mode index cc274299c4..57d69fea64 100755 --- a/tests/ts/fdisk/mbr-dos-mode +++ b/tests/ts/fdisk/mbr-dos-mode @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="MBR - dos mode" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FDISK" diff --git a/tests/ts/fdisk/mbr-nondos-mode b/tests/ts/fdisk/mbr-nondos-mode index d366f28ac9..4db206415b 100755 --- a/tests/ts/fdisk/mbr-nondos-mode +++ b/tests/ts/fdisk/mbr-nondos-mode @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="MBR - non-dos mode" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FDISK" diff --git a/tests/ts/fdisk/mbr-sort b/tests/ts/fdisk/mbr-sort index 6a6d3b86f7..6d0ec9e992 100755 --- a/tests/ts/fdisk/mbr-sort +++ b/tests/ts/fdisk/mbr-sort @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="MBR - sort" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FDISK" diff --git a/tests/ts/fdisk/oddinput b/tests/ts/fdisk/oddinput index 8c23abbf00..9b55d75c76 100755 --- a/tests/ts/fdisk/oddinput +++ b/tests/ts/fdisk/oddinput @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="invalid input tests" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FDISK" diff --git a/tests/ts/fdisk/sunlabel b/tests/ts/fdisk/sunlabel index 4c0d37503d..ead0aac44b 100755 --- a/tests/ts/fdisk/sunlabel +++ b/tests/ts/fdisk/sunlabel @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="sunlabel tests" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FDISK" diff --git a/tests/ts/fincore/count b/tests/ts/fincore/count index fb35b0fb8f..bec278ef51 100755 --- a/tests/ts/fincore/count +++ b/tests/ts/fincore/count @@ -3,7 +3,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="count file contents in core" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_SYSINFO" diff --git a/tests/ts/findmnt/filter b/tests/ts/findmnt/filter index b92768ad87..8b2429268e 100755 --- a/tests/ts/findmnt/filter +++ b/tests/ts/findmnt/filter @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="filter" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FINDMNT" diff --git a/tests/ts/findmnt/outputs b/tests/ts/findmnt/outputs index 3a4422b37c..83c9134f99 100755 --- a/tests/ts/findmnt/outputs +++ b/tests/ts/findmnt/outputs @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="outputs" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FINDMNT" diff --git a/tests/ts/findmnt/target b/tests/ts/findmnt/target index ada7a2e236..6b4136d41a 100755 --- a/tests/ts/findmnt/target +++ b/tests/ts/findmnt/target @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="target" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FINDMNT" diff --git a/tests/ts/fsck/ismounted b/tests/ts/fsck/ismounted index ffe1a1d703..477ac4b70b 100755 --- a/tests/ts/fsck/ismounted +++ b/tests/ts/fsck/ismounted @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="is mounted" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/fuzzers/test_blkid_fuzz b/tests/ts/fuzzers/test_blkid_fuzz index 8bfa16bd4c..7ce89bc47e 100755 --- a/tests/ts/fuzzers/test_blkid_fuzz +++ b/tests/ts/fuzzers/test_blkid_fuzz @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="test_blkid_fuzz" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_BLKID_FUZZ" diff --git a/tests/ts/fuzzers/test_fdisk_script_fuzz b/tests/ts/fuzzers/test_fdisk_script_fuzz index 708d372e8d..44f2d6a4c2 100755 --- a/tests/ts/fuzzers/test_fdisk_script_fuzz +++ b/tests/ts/fuzzers/test_fdisk_script_fuzz @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="test_fdisk_script_fuzz" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_LIBFDISK_SCRIPT_FUZZ" diff --git a/tests/ts/fuzzers/test_last_fuzz b/tests/ts/fuzzers/test_last_fuzz index 5d92d0de2e..c121aba160 100755 --- a/tests/ts/fuzzers/test_last_fuzz +++ b/tests/ts/fuzzers/test_last_fuzz @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="test_last_fuzz" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_LAST_FUZZ" diff --git a/tests/ts/fuzzers/test_mount_fuzz b/tests/ts/fuzzers/test_mount_fuzz index c9349071ca..3fcf599ba6 100755 --- a/tests/ts/fuzzers/test_mount_fuzz +++ b/tests/ts/fuzzers/test_mount_fuzz @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="test_mount_fuzz" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_LIBMOUNT_FUZZ" diff --git a/tests/ts/getopt/basic b/tests/ts/getopt/basic index 5bd1f50179..f73695f4a4 100755 --- a/tests/ts/getopt/basic +++ b/tests/ts/getopt/basic @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="basic" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_GETOPT" diff --git a/tests/ts/getopt/options b/tests/ts/getopt/options index eedcbbc52a..b245b329d1 100755 --- a/tests/ts/getopt/options +++ b/tests/ts/getopt/options @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="options" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_GETOPT" diff --git a/tests/ts/hardlink/options b/tests/ts/hardlink/options index 2a1c919a28..ab69099b8a 100755 --- a/tests/ts/hardlink/options +++ b/tests/ts/hardlink/options @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="options" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" diff --git a/tests/ts/hexdump/format-strings b/tests/ts/hexdump/format-strings index 3901b36fff..9f055ba145 100755 --- a/tests/ts/hexdump/format-strings +++ b/tests/ts/hexdump/format-strings @@ -19,7 +19,7 @@ FILES="$TS_TOPDIR/ts/hexdump/files" #for i in range(256): # print(chr(i), end= ' ') -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_HEXDUMP" diff --git a/tests/ts/hexdump/highlighting b/tests/ts/hexdump/highlighting index e577579783..cb94615925 100755 --- a/tests/ts/hexdump/highlighting +++ b/tests/ts/hexdump/highlighting @@ -21,7 +21,7 @@ ADDRFMT='-e "%07.7_Ax\n"' #for i in range(256): # print(chr(i), end= ' ') -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_HEXDUMP" diff --git a/tests/ts/hwclock/systohc b/tests/ts/hwclock/systohc index 228ef7c8a2..fbd67ee9c0 100755 --- a/tests/ts/hwclock/systohc +++ b/tests/ts/hwclock/systohc @@ -20,7 +20,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="system to hw" NTP_SERVER="0.fedora.pool.ntp.org" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_HWCLOCK" diff --git a/tests/ts/ipcs/headers b/tests/ts/ipcs/headers index 1ee13a9aae..2796f4b0ab 100755 --- a/tests/ts/ipcs/headers +++ b/tests/ts/ipcs/headers @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="headers" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_IPCS" diff --git a/tests/ts/ipcs/limits b/tests/ts/ipcs/limits index 671f23c773..22add86fd7 100755 --- a/tests/ts/ipcs/limits +++ b/tests/ts/ipcs/limits @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="limits overflow" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_IPCS" @@ -28,7 +28,7 @@ ts_check_test_command "$TS_HELPER_SYSINFO" ts_skip_nonroot ts_check_prog "bc" -. $TS_SELF/functions.sh +. "$TS_SELF"/functions.sh ts_lock "ipcslimits" diff --git a/tests/ts/ipcs/limits2 b/tests/ts/ipcs/limits2 index 77ad70f9bc..6da8880868 100755 --- a/tests/ts/ipcs/limits2 +++ b/tests/ts/ipcs/limits2 @@ -19,14 +19,14 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="basic limits" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_IPCS" ts_check_test_command "$TS_HELPER_SYSINFO" ts_check_prog "bc" -. $TS_SELF/functions.sh +. "$TS_SELF"/functions.sh ts_lock "ipcslimits" diff --git a/tests/ts/ipcs/mk-rm-msg b/tests/ts/ipcs/mk-rm-msg index a9e2ca9db5..c588a0dc2f 100755 --- a/tests/ts/ipcs/mk-rm-msg +++ b/tests/ts/ipcs/mk-rm-msg @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="mk-rm-msg" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_IPCS" @@ -23,7 +23,7 @@ ts_check_test_command "$TS_CMD_IPCMK" ts_check_test_command "$TS_CMD_IPCRM" ts_check_test_command "$TS_HELPER_SYSINFO" -. $TS_SELF/functions.sh +. "$TS_SELF"/functions.sh rm -f $TS_OUTDIR/id-msg $TS_CMD_IPCMK -Q 2>>$TS_OUTPUT | ipcmk_output_handler $TS_OUTPUT $TS_OUTDIR/id-msg diff --git a/tests/ts/ipcs/mk-rm-sem b/tests/ts/ipcs/mk-rm-sem index ec59c08872..beccee4c9a 100755 --- a/tests/ts/ipcs/mk-rm-sem +++ b/tests/ts/ipcs/mk-rm-sem @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="mk-rm-sem" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_IPCS" @@ -23,7 +23,7 @@ ts_check_test_command "$TS_CMD_IPCMK" ts_check_test_command "$TS_CMD_IPCRM" ts_check_test_command "$TS_HELPER_SYSINFO" -. $TS_SELF/functions.sh +. "$TS_SELF"/functions.sh rm -f $TS_OUTDIR/id-sem $TS_CMD_IPCMK -S 1 2>>$TS_OUTPUT | ipcmk_output_handler $TS_OUTPUT $TS_OUTDIR/id-sem diff --git a/tests/ts/ipcs/mk-rm-shm b/tests/ts/ipcs/mk-rm-shm index eb85ad63fb..81f40cf477 100755 --- a/tests/ts/ipcs/mk-rm-shm +++ b/tests/ts/ipcs/mk-rm-shm @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="mk-rm-shm" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_IPCS" @@ -23,7 +23,7 @@ ts_check_test_command "$TS_CMD_IPCMK" ts_check_test_command "$TS_CMD_IPCRM" ts_check_test_command "$TS_HELPER_SYSINFO" -. $TS_SELF/functions.sh +. "$TS_SELF"/functions.sh rm -f $TS_OUTDIR/id-shm $TS_CMD_IPCMK -M 1 2>>$TS_OUTPUT | ipcmk_output_handler $TS_OUTPUT $TS_OUTDIR/id-shm diff --git a/tests/ts/isosize/print-size b/tests/ts/isosize/print-size index dcd585bc5a..33e0b3b563 100755 --- a/tests/ts/isosize/print-size +++ b/tests/ts/isosize/print-size @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="print-size" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_ISOSIZE" diff --git a/tests/ts/libfdisk/gpt b/tests/ts/libfdisk/gpt index 3578cd1b86..b4019295f7 100755 --- a/tests/ts/libfdisk/gpt +++ b/tests/ts/libfdisk/gpt @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="GPT" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" TESTPROG="$TS_HELPER_LIBFDISK_GPT" diff --git a/tests/ts/libfdisk/mkpart b/tests/ts/libfdisk/mkpart index 44029a69fd..6038f269ec 100755 --- a/tests/ts/libfdisk/mkpart +++ b/tests/ts/libfdisk/mkpart @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="mkpart" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" TESTPROG="$TS_HELPER_LIBFDISK_MKPART" diff --git a/tests/ts/libfdisk/mkpart-full b/tests/ts/libfdisk/mkpart-full index 05b2b4793e..4c026ceb01 100755 --- a/tests/ts/libfdisk/mkpart-full +++ b/tests/ts/libfdisk/mkpart-full @@ -20,7 +20,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="mkpart-full" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" TESTPROG="$TS_HELPER_LIBFDISK_MKPART_FULLSPEC" diff --git a/tests/ts/libmount/context b/tests/ts/libmount/context index da1ba71525..f5b47185e3 100755 --- a/tests/ts/libmount/context +++ b/tests/ts/libmount/context @@ -5,7 +5,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="context" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FDISK" diff --git a/tests/ts/libmount/context-py b/tests/ts/libmount/context-py index c5029f479a..53a211cf91 100755 --- a/tests/ts/libmount/context-py +++ b/tests/ts/libmount/context-py @@ -5,7 +5,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="context-py" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FDISK" diff --git a/tests/ts/libmount/context-utab b/tests/ts/libmount/context-utab index a8a3d6bec9..c67017cdc9 100755 --- a/tests/ts/libmount/context-utab +++ b/tests/ts/libmount/context-utab @@ -5,7 +5,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="context (utab)" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FDISK" diff --git a/tests/ts/libmount/context-utab-py b/tests/ts/libmount/context-utab-py index c47d13b42c..59c9e49313 100755 --- a/tests/ts/libmount/context-utab-py +++ b/tests/ts/libmount/context-utab-py @@ -4,7 +4,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="context-py (utab)" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FDISK" diff --git a/tests/ts/libmount/debug b/tests/ts/libmount/debug index 5507d54d14..e98d9228eb 100755 --- a/tests/ts/libmount/debug +++ b/tests/ts/libmount/debug @@ -5,7 +5,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="debugging" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" TESTPROG="$TS_HELPER_LIBMOUNT_DEBUG" diff --git a/tests/ts/libmount/lock b/tests/ts/libmount/lock index 7ba678baf5..e1d046b29e 100755 --- a/tests/ts/libmount/lock +++ b/tests/ts/libmount/lock @@ -7,7 +7,7 @@ TS_DESC="lock" TS_OPTIONAL="yes" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" TESTPROG="$TS_HELPER_LIBMOUNT_LOCK" diff --git a/tests/ts/libmount/loop b/tests/ts/libmount/loop index 6de00ee1c1..e45336cbd3 100755 --- a/tests/ts/libmount/loop +++ b/tests/ts/libmount/loop @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="losetup-loop" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/libmount/loop-overlay b/tests/ts/libmount/loop-overlay index 62874a182b..257ce8a999 100755 --- a/tests/ts/libmount/loop-overlay +++ b/tests/ts/libmount/loop-overlay @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="loop overlay" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_LOSETUP" diff --git a/tests/ts/libmount/optstr b/tests/ts/libmount/optstr index 03a1635eb8..785a747004 100755 --- a/tests/ts/libmount/optstr +++ b/tests/ts/libmount/optstr @@ -5,7 +5,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="options string" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" TESTPROG="$TS_HELPER_LIBMOUNT_OPTSTR" diff --git a/tests/ts/libmount/tabdiff b/tests/ts/libmount/tabdiff index 344daaee7b..2f9acb91dc 100755 --- a/tests/ts/libmount/tabdiff +++ b/tests/ts/libmount/tabdiff @@ -5,7 +5,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="table diffs" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" TESTPROG="$TS_HELPER_LIBMOUNT_TABDIFF" diff --git a/tests/ts/libmount/tabfiles b/tests/ts/libmount/tabfiles index 716fed8cb2..1de740e6dc 100755 --- a/tests/ts/libmount/tabfiles +++ b/tests/ts/libmount/tabfiles @@ -5,7 +5,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="tab files" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" TESTPROG="$TS_HELPER_LIBMOUNT_TAB" diff --git a/tests/ts/libmount/tabfiles-py b/tests/ts/libmount/tabfiles-py index 9754afec71..ba89ddfe27 100755 --- a/tests/ts/libmount/tabfiles-py +++ b/tests/ts/libmount/tabfiles-py @@ -5,7 +5,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="tab files-py" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_init_py libmount diff --git a/tests/ts/libmount/tabfiles-tags b/tests/ts/libmount/tabfiles-tags index c5452cf146..cc484290a5 100755 --- a/tests/ts/libmount/tabfiles-tags +++ b/tests/ts/libmount/tabfiles-tags @@ -3,7 +3,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="tags" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_skip_nonroot diff --git a/tests/ts/libmount/tabfiles-tags-py b/tests/ts/libmount/tabfiles-tags-py index 171f189896..5c5c7c31b7 100755 --- a/tests/ts/libmount/tabfiles-tags-py +++ b/tests/ts/libmount/tabfiles-tags-py @@ -3,7 +3,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="tags-py" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_skip_nonroot diff --git a/tests/ts/libmount/update b/tests/ts/libmount/update index fb69bee2d1..ba93e0bbe7 100755 --- a/tests/ts/libmount/update +++ b/tests/ts/libmount/update @@ -5,7 +5,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="tab update" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_skip_nonroot diff --git a/tests/ts/libmount/update-py b/tests/ts/libmount/update-py index e4bba9c429..bfb844192c 100755 --- a/tests/ts/libmount/update-py +++ b/tests/ts/libmount/update-py @@ -5,7 +5,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="tab update-py" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_init_py libmount ts_skip_nonroot diff --git a/tests/ts/libmount/utils b/tests/ts/libmount/utils index ad25e8f81f..1fed2a7c0a 100755 --- a/tests/ts/libmount/utils +++ b/tests/ts/libmount/utils @@ -5,7 +5,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="utils" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" TESTPROG="$TS_HELPER_LIBMOUNT_UTILS" diff --git a/tests/ts/libsmartcols/fromfile b/tests/ts/libsmartcols/fromfile index d87f2cc7de..45b84716cf 100755 --- a/tests/ts/libsmartcols/fromfile +++ b/tests/ts/libsmartcols/fromfile @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="fromfile" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" TESTPROG="$TS_HELPER_LIBSMARTCOLS_FROMFILE" diff --git a/tests/ts/libsmartcols/title b/tests/ts/libsmartcols/title index 77c2797002..5a1c178da3 100755 --- a/tests/ts/libsmartcols/title +++ b/tests/ts/libsmartcols/title @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="title" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" TESTPROG="$TS_HELPER_LIBSMARTCOLS_TITLE" diff --git a/tests/ts/logger/errors b/tests/ts/logger/errors index f808099148..f6d0d7b915 100755 --- a/tests/ts/logger/errors +++ b/tests/ts/logger/errors @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="errors" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" diff --git a/tests/ts/logger/formats b/tests/ts/logger/formats index 82716c814f..0c46b693b6 100755 --- a/tests/ts/logger/formats +++ b/tests/ts/logger/formats @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="formats" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" diff --git a/tests/ts/logger/journald b/tests/ts/logger/journald index 9ed87ad5f9..abed3e7c3d 100755 --- a/tests/ts/logger/journald +++ b/tests/ts/logger/journald @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="journald" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" diff --git a/tests/ts/logger/options b/tests/ts/logger/options index 30daea5d13..c5a4c3617c 100755 --- a/tests/ts/logger/options +++ b/tests/ts/logger/options @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="options" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" diff --git a/tests/ts/login/islocal b/tests/ts/login/islocal index bb372705b2..013999e0cb 100755 --- a/tests/ts/login/islocal +++ b/tests/ts/login/islocal @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="islocal" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_ISLOCAL" diff --git a/tests/ts/login/logindefs b/tests/ts/login/logindefs index 2db3f89fa4..2ab9ce46c9 100755 --- a/tests/ts/login/logindefs +++ b/tests/ts/login/logindefs @@ -7,7 +7,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="defs" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_LOGINDEFS" diff --git a/tests/ts/look/separator b/tests/ts/look/separator index 2a5ecf3074..d32a3432c1 100755 --- a/tests/ts/look/separator +++ b/tests/ts/look/separator @@ -31,7 +31,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="separator" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_LOOK" diff --git a/tests/ts/losetup/losetup b/tests/ts/losetup/losetup index 1fec0dd06d..9bae618664 100755 --- a/tests/ts/losetup/losetup +++ b/tests/ts/losetup/losetup @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="losetup" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_LOSETUP" diff --git a/tests/ts/losetup/losetup-blkdev b/tests/ts/losetup/losetup-blkdev index 54693beb99..93eb7323d1 100755 --- a/tests/ts/losetup/losetup-blkdev +++ b/tests/ts/losetup/losetup-blkdev @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="losetup-blkdev" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_LOSETUP" diff --git a/tests/ts/losetup/losetup-loop b/tests/ts/losetup/losetup-loop index 037e5c7c6d..d6ba902dec 100755 --- a/tests/ts/losetup/losetup-loop +++ b/tests/ts/losetup/losetup-loop @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="losetup-loop" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_LOSETUP" diff --git a/tests/ts/lsblk/lsblk b/tests/ts/lsblk/lsblk index b790f7576e..926f62d91b 100755 --- a/tests/ts/lsblk/lsblk +++ b/tests/ts/lsblk/lsblk @@ -18,7 +18,7 @@ # along with this program. If not, see . # TS_TOPDIR="${0%/*}/../.." -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" diff --git a/tests/ts/lscpu/lscpu b/tests/ts/lscpu/lscpu index d22400777f..5c4b28ec00 100755 --- a/tests/ts/lscpu/lscpu +++ b/tests/ts/lscpu/lscpu @@ -18,7 +18,7 @@ # along with this program. If not, see . # TS_TOPDIR="${0%/*}/../.." -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" diff --git a/tests/ts/lsfd/column-kthread b/tests/ts/lsfd/column-kthread index 9fd10bf4c2..0b093e96a7 100755 --- a/tests/ts/lsfd/column-kthread +++ b/tests/ts/lsfd/column-kthread @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="kthread column" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_skip_nonroot diff --git a/tests/ts/lsfd/mkfds-directory b/tests/ts/lsfd/mkfds-directory index 3badafd4db..e1bf77338c 100755 --- a/tests/ts/lsfd/mkfds-directory +++ b/tests/ts/lsfd/mkfds-directory @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="directory" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_LSFD" diff --git a/tests/ts/lsfd/mkfds-mapped-packet-socket b/tests/ts/lsfd/mkfds-mapped-packet-socket index abb0127384..4dd03e1f99 100755 --- a/tests/ts/lsfd/mkfds-mapped-packet-socket +++ b/tests/ts/lsfd/mkfds-mapped-packet-socket @@ -17,12 +17,12 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="mmap'ed AF_PACKET socket" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_skip_nonroot ts_skip_qemu_user -. $TS_SELF/lsfd-functions.bash +. "$TS_SELF"/lsfd-functions.bash ts_check_test_command "$TS_CMD_LSFD" diff --git a/tests/ts/lsfd/mkfds-pidfd b/tests/ts/lsfd/mkfds-pidfd index fc31bd6b28..876185318d 100755 --- a/tests/ts/lsfd/mkfds-pidfd +++ b/tests/ts/lsfd/mkfds-pidfd @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="pidfd" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_LSFD" diff --git a/tests/ts/lsfd/mkfds-pipe-no-fork b/tests/ts/lsfd/mkfds-pipe-no-fork index f1d140b544..a95d3a86f4 100755 --- a/tests/ts/lsfd/mkfds-pipe-no-fork +++ b/tests/ts/lsfd/mkfds-pipe-no-fork @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="pipe, no fork" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_LSFD" diff --git a/tests/ts/lsfd/mkfds-ro-block-device b/tests/ts/lsfd/mkfds-ro-block-device index 2ba2a97d7f..598260b14e 100755 --- a/tests/ts/lsfd/mkfds-ro-block-device +++ b/tests/ts/lsfd/mkfds-ro-block-device @@ -17,12 +17,12 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="block device with O_RDONLY" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_skip_nonroot ts_skip_qemu_user -. $TS_SELF/lsfd-functions.bash +. "$TS_SELF"/lsfd-functions.bash ts_check_test_command "$TS_CMD_LSFD" diff --git a/tests/ts/lsfd/mkfds-ro-regular-file b/tests/ts/lsfd/mkfds-ro-regular-file index 9441a4ea03..8d0f02b027 100755 --- a/tests/ts/lsfd/mkfds-ro-regular-file +++ b/tests/ts/lsfd/mkfds-ro-regular-file @@ -17,10 +17,10 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="read-only regular file" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" -. $TS_SELF/lsfd-functions.bash +. "$TS_SELF"/lsfd-functions.bash ts_check_test_command "$TS_CMD_LSFD" diff --git a/tests/ts/lsfd/mkfds-rw-character-device b/tests/ts/lsfd/mkfds-rw-character-device index 4f368f6750..8ac0fe4c5d 100755 --- a/tests/ts/lsfd/mkfds-rw-character-device +++ b/tests/ts/lsfd/mkfds-rw-character-device @@ -17,10 +17,10 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="character device with O_RDWR" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" -. $TS_SELF/lsfd-functions.bash +. "$TS_SELF"/lsfd-functions.bash ts_check_test_command "$TS_CMD_LSFD" diff --git a/tests/ts/lsfd/mkfds-socketpair b/tests/ts/lsfd/mkfds-socketpair index 17d2f3aaac..e16d5bee1c 100755 --- a/tests/ts/lsfd/mkfds-socketpair +++ b/tests/ts/lsfd/mkfds-socketpair @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="AF_UNIX socket pair created with socketpair(2)" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_LSFD" diff --git a/tests/ts/lsfd/mkfds-symlink b/tests/ts/lsfd/mkfds-symlink index e4513d9f5a..3b3e3c168d 100755 --- a/tests/ts/lsfd/mkfds-symlink +++ b/tests/ts/lsfd/mkfds-symlink @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="symbolic link itself opened with O_PATH" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_LSFD" diff --git a/tests/ts/lsfd/option-filter-broken-exp b/tests/ts/lsfd/option-filter-broken-exp index 58b48e126e..bedf4393d2 100755 --- a/tests/ts/lsfd/option-filter-broken-exp +++ b/tests/ts/lsfd/option-filter-broken-exp @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="passing broken expressions to -Q option" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_LSFD" diff --git a/tests/ts/lsfd/option-pid b/tests/ts/lsfd/option-pid index 65365bf9e9..0e0c986d5d 100755 --- a/tests/ts/lsfd/option-pid +++ b/tests/ts/lsfd/option-pid @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="--pid option" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_skip_nonroot diff --git a/tests/ts/lsfd/option-summary b/tests/ts/lsfd/option-summary index e27122aea7..64bf54ba1c 100755 --- a/tests/ts/lsfd/option-summary +++ b/tests/ts/lsfd/option-summary @@ -17,10 +17,10 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="--summary option" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" -. $TS_SELF/lsfd-functions.bash +. "$TS_SELF"/lsfd-functions.bash ts_check_test_command "$TS_CMD_LSFD" ts_check_test_command "$TS_HELPER_MKFDS" diff --git a/tests/ts/lsmem/lsmem b/tests/ts/lsmem/lsmem index 9c431b57b4..7dce0f2222 100755 --- a/tests/ts/lsmem/lsmem +++ b/tests/ts/lsmem/lsmem @@ -16,7 +16,7 @@ # along with this program. If not, see . # TS_TOPDIR="${0%/*}/../.." -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" diff --git a/tests/ts/lsns/ioctl_ns b/tests/ts/lsns/ioctl_ns index fa626bfda1..7cc3a95a3c 100755 --- a/tests/ts/lsns/ioctl_ns +++ b/tests/ts/lsns/ioctl_ns @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="ownership and hierarchy" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" # ts_skip_nonroot diff --git a/tests/ts/lsns/netnsid b/tests/ts/lsns/netnsid index 9d04f28f02..719b064d98 100755 --- a/tests/ts/lsns/netnsid +++ b/tests/ts/lsns/netnsid @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="NETNSID compare to ip-link" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_LSNS" diff --git a/tests/ts/lsns/nsfs b/tests/ts/lsns/nsfs index 70cab2b855..01456d2928 100755 --- a/tests/ts/lsns/nsfs +++ b/tests/ts/lsns/nsfs @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="NSFS for ip-netns-add" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_skip_nonroot diff --git a/tests/ts/md5/md5 b/tests/ts/md5/md5 index 57c4d5275f..3c89b73d69 100755 --- a/tests/ts/md5/md5 +++ b/tests/ts/md5/md5 @@ -17,7 +17,7 @@ # TS_TOPDIR="${0%/*}/../.." -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_MD5" diff --git a/tests/ts/minix/fsck b/tests/ts/minix/fsck index 0ca86dfaea..335f180dcc 100755 --- a/tests/ts/minix/fsck +++ b/tests/ts/minix/fsck @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="mkfs fsck" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MKMINIX" diff --git a/tests/ts/minix/fsck-images b/tests/ts/minix/fsck-images index 4c204228b5..17d77049b9 100755 --- a/tests/ts/minix/fsck-images +++ b/tests/ts/minix/fsck-images @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="fsck images" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" # inode contains UID and GID, use always UID=0 to get the same checksum diff --git a/tests/ts/minix/mkfs b/tests/ts/minix/mkfs index 27ed957622..e5ee5968aa 100755 --- a/tests/ts/minix/mkfs +++ b/tests/ts/minix/mkfs @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="mkfs mount" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MKMINIX" diff --git a/tests/ts/misc/fallocate b/tests/ts/misc/fallocate index ec3d2d2f80..07efd987d9 100755 --- a/tests/ts/misc/fallocate +++ b/tests/ts/misc/fallocate @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="fallocate" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FALLOCATE" diff --git a/tests/ts/misc/flock b/tests/ts/misc/flock index 6b8edfafac..9a15aab1d4 100755 --- a/tests/ts/misc/flock +++ b/tests/ts/misc/flock @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="flock" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_FLOCK" diff --git a/tests/ts/misc/ionice b/tests/ts/misc/ionice index 81cc0f86d8..0114979492 100755 --- a/tests/ts/misc/ionice +++ b/tests/ts/misc/ionice @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="ionice" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_IONICE" diff --git a/tests/ts/misc/line b/tests/ts/misc/line index 8424fc7f0b..97a415c57b 100755 --- a/tests/ts/misc/line +++ b/tests/ts/misc/line @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="line" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_LINE" diff --git a/tests/ts/misc/mbsencode b/tests/ts/misc/mbsencode index cc3a540caa..39f9510a5d 100755 --- a/tests/ts/misc/mbsencode +++ b/tests/ts/misc/mbsencode @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="mbsencode" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command $TS_HELPER_MBSENCODE diff --git a/tests/ts/misc/mcookie b/tests/ts/misc/mcookie index 99312162e4..a8c54f37a7 100755 --- a/tests/ts/misc/mcookie +++ b/tests/ts/misc/mcookie @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="mcookie" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MCOOKIE" diff --git a/tests/ts/misc/mountpoint b/tests/ts/misc/mountpoint index e52ccb28fb..19e6cfc360 100755 --- a/tests/ts/misc/mountpoint +++ b/tests/ts/misc/mountpoint @@ -3,7 +3,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="mountpoint" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNTPOINT" diff --git a/tests/ts/misc/pipesz b/tests/ts/misc/pipesz index 4668e0198f..e3c31f6117 100755 --- a/tests/ts/misc/pipesz +++ b/tests/ts/misc/pipesz @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="pipesz" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_PIPESZ" diff --git a/tests/ts/misc/rev b/tests/ts/misc/rev index 5e849f14ac..b13f79c540 100755 --- a/tests/ts/misc/rev +++ b/tests/ts/misc/rev @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="rev" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_REV" diff --git a/tests/ts/misc/setarch b/tests/ts/misc/setarch index ab2f6c0099..aa07cb018d 100755 --- a/tests/ts/misc/setarch +++ b/tests/ts/misc/setarch @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="setarch" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_SETARCH" diff --git a/tests/ts/misc/setsid b/tests/ts/misc/setsid index dc4a32904a..9f04717a7f 100755 --- a/tests/ts/misc/setsid +++ b/tests/ts/misc/setsid @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="setsid" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_SETSID" diff --git a/tests/ts/misc/strtosize b/tests/ts/misc/strtosize index 7d78c35834..e6233d536b 100755 --- a/tests/ts/misc/strtosize +++ b/tests/ts/misc/strtosize @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="strtosize" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_STRUTILS" diff --git a/tests/ts/misc/swaplabel b/tests/ts/misc/swaplabel index 8b1abb5c33..9db7d2b80f 100755 --- a/tests/ts/misc/swaplabel +++ b/tests/ts/misc/swaplabel @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="swaplabel" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MKSWAP" diff --git a/tests/ts/misc/whereis b/tests/ts/misc/whereis index 44643aefa6..a799be0314 100755 --- a/tests/ts/misc/whereis +++ b/tests/ts/misc/whereis @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="whereis" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_WHEREIS" diff --git a/tests/ts/more/regexp b/tests/ts/more/regexp index 869d71205d..c6feeee1f2 100755 --- a/tests/ts/more/regexp +++ b/tests/ts/more/regexp @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="regexp" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_MORE" diff --git a/tests/ts/more/squeeze b/tests/ts/more/squeeze index 3b17ddb75c..9099b02e36 100755 --- a/tests/ts/more/squeeze +++ b/tests/ts/more/squeeze @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="squeeze" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_MORE" diff --git a/tests/ts/mount/devname b/tests/ts/mount/devname index dd44725944..fcfa926728 100755 --- a/tests/ts/mount/devname +++ b/tests/ts/mount/devname @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="by devname" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/dm-verity b/tests/ts/mount/dm-verity index 4babbbf4e5..dc8689dafe 100755 --- a/tests/ts/mount/dm-verity +++ b/tests/ts/mount/dm-verity @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="dm-verity support" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" VERITY_OUTPUT="$TS_OUTPUT.log" diff --git a/tests/ts/mount/fslists b/tests/ts/mount/fslists index 74a87f6a79..230186a1ed 100755 --- a/tests/ts/mount/fslists +++ b/tests/ts/mount/fslists @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="fs lists" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/fstab-all b/tests/ts/mount/fstab-all index 6b70188237..53b9651c22 100755 --- a/tests/ts/mount/fstab-all +++ b/tests/ts/mount/fstab-all @@ -5,7 +5,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="all (fstab)" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/fstab-broken b/tests/ts/mount/fstab-broken index c103ac915d..a66ebaeaef 100755 --- a/tests/ts/mount/fstab-broken +++ b/tests/ts/mount/fstab-broken @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="broken fstab" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/fstab-btrfs b/tests/ts/mount/fstab-btrfs index 7233941ef9..2ddfd48e8c 100755 --- a/tests/ts/mount/fstab-btrfs +++ b/tests/ts/mount/fstab-btrfs @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="btrfs (fstab)" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/fstab-devname b/tests/ts/mount/fstab-devname index 660c5e7d06..5b64a32a6d 100755 --- a/tests/ts/mount/fstab-devname +++ b/tests/ts/mount/fstab-devname @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="by devname (fstab)" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/fstab-devname2label b/tests/ts/mount/fstab-devname2label index 7257fbc898..1d8562109f 100755 --- a/tests/ts/mount/fstab-devname2label +++ b/tests/ts/mount/fstab-devname2label @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="by devname (fstab label)" LABEL="testMountD2L" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/fstab-devname2uuid b/tests/ts/mount/fstab-devname2uuid index 02b3ee161b..8105fa028b 100755 --- a/tests/ts/mount/fstab-devname2uuid +++ b/tests/ts/mount/fstab-devname2uuid @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="by devname (fstab uuid)" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/fstab-label b/tests/ts/mount/fstab-label index 6ec06414ab..4b23e7feee 100755 --- a/tests/ts/mount/fstab-label +++ b/tests/ts/mount/fstab-label @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="by label (fstab)" LABEL="testFstabLabel" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/fstab-label2devname b/tests/ts/mount/fstab-label2devname index 5b184edc75..75ca05e8c9 100755 --- a/tests/ts/mount/fstab-label2devname +++ b/tests/ts/mount/fstab-label2devname @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="by label (fstab devname)" LABEL="testMountL2D" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/fstab-label2uuid b/tests/ts/mount/fstab-label2uuid index b0ef960d94..4bfcae4b96 100755 --- a/tests/ts/mount/fstab-label2uuid +++ b/tests/ts/mount/fstab-label2uuid @@ -20,7 +20,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="by label (fstab uuid)" LABEL="testMountL2U" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/fstab-loop b/tests/ts/mount/fstab-loop index 7d4fbff3c6..7cc589fd2c 100755 --- a/tests/ts/mount/fstab-loop +++ b/tests/ts/mount/fstab-loop @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="loop (fstab)" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/fstab-none b/tests/ts/mount/fstab-none index 4be9d3f7d0..8e81f3f28b 100755 --- a/tests/ts/mount/fstab-none +++ b/tests/ts/mount/fstab-none @@ -3,7 +3,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="none" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/fstab-symlink b/tests/ts/mount/fstab-symlink index 9f63a5afc8..4d3e37b195 100755 --- a/tests/ts/mount/fstab-symlink +++ b/tests/ts/mount/fstab-symlink @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="by devname (fstab symlink)" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/fstab-uuid b/tests/ts/mount/fstab-uuid index f1cb4bdf41..03917b7822 100755 --- a/tests/ts/mount/fstab-uuid +++ b/tests/ts/mount/fstab-uuid @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="by uuid (fstab)" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/fstab-uuid2devname b/tests/ts/mount/fstab-uuid2devname index cd51a2f97c..9bf165e164 100755 --- a/tests/ts/mount/fstab-uuid2devname +++ b/tests/ts/mount/fstab-uuid2devname @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="by uuid (fstab devname)" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/fstab-uuid2label b/tests/ts/mount/fstab-uuid2label index e7d4db07b1..de10ff0b04 100755 --- a/tests/ts/mount/fstab-uuid2label +++ b/tests/ts/mount/fstab-uuid2label @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="by uuid (fstab label)" LABEL="testMountU2L" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/label b/tests/ts/mount/label index cd177841c5..402eca6c2f 100755 --- a/tests/ts/mount/label +++ b/tests/ts/mount/label @@ -20,7 +20,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="by label" LABEL="testMountLabel" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/move b/tests/ts/mount/move index 0dbaaebf7a..5e70415490 100755 --- a/tests/ts/mount/move +++ b/tests/ts/mount/move @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="move" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/regfile b/tests/ts/mount/regfile index d56f50775b..c17c687914 100755 --- a/tests/ts/mount/regfile +++ b/tests/ts/mount/regfile @@ -6,7 +6,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="regular file" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/remount b/tests/ts/mount/remount index 42da41a224..003f0dc3e5 100755 --- a/tests/ts/mount/remount +++ b/tests/ts/mount/remount @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="remount" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/set_ugid_mode b/tests/ts/mount/set_ugid_mode index ed8a84ba5c..8041354e7f 100755 --- a/tests/ts/mount/set_ugid_mode +++ b/tests/ts/mount/set_ugid_mode @@ -5,7 +5,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="X-mount.{owner,group,mode}=" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/shared-subtree b/tests/ts/mount/shared-subtree index cb43ade57c..aaaaf64692 100755 --- a/tests/ts/mount/shared-subtree +++ b/tests/ts/mount/shared-subtree @@ -3,7 +3,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="shared-subtree" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/special b/tests/ts/mount/special index 21edd65078..ea2172564f 100755 --- a/tests/ts/mount/special +++ b/tests/ts/mount/special @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="call mount." MOUNTER="/sbin/mount.mytest" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/umount-alltargets b/tests/ts/mount/umount-alltargets index 4ee4761e0e..3277d6ec63 100755 --- a/tests/ts/mount/umount-alltargets +++ b/tests/ts/mount/umount-alltargets @@ -5,7 +5,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="umount-all-targets" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/umount-recursive b/tests/ts/mount/umount-recursive index 17c3f26fe6..5902f12fbd 100755 --- a/tests/ts/mount/umount-recursive +++ b/tests/ts/mount/umount-recursive @@ -5,7 +5,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="umount-recursive" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/mount/uuid b/tests/ts/mount/uuid index db0376642a..f2edfe1e55 100755 --- a/tests/ts/mount/uuid +++ b/tests/ts/mount/uuid @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="by uuid" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MOUNT" diff --git a/tests/ts/namei/logic b/tests/ts/namei/logic index d6029494a9..52ce9ac0b7 100755 --- a/tests/ts/namei/logic +++ b/tests/ts/namei/logic @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="basic functionality" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_NAMEI" diff --git a/tests/ts/partx/partx b/tests/ts/partx/partx index 3925d1b3f3..e2021003b5 100755 --- a/tests/ts/partx/partx +++ b/tests/ts/partx/partx @@ -20,7 +20,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="partitions probing" PARTS=3 -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_PARTX" diff --git a/tests/ts/partx/partx-image b/tests/ts/partx/partx-image index c7f471e51d..a0ecf2c4f8 100755 --- a/tests/ts/partx/partx-image +++ b/tests/ts/partx/partx-image @@ -20,7 +20,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="show images" TS_IMGDIR="$TS_TOPDIR/ts/blkid/images-pt" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_PARTX" diff --git a/tests/ts/paths/built-in b/tests/ts/paths/built-in index bf55c10139..2301ffb329 100755 --- a/tests/ts/paths/built-in +++ b/tests/ts/paths/built-in @@ -21,7 +21,7 @@ TS_DESC="built-in" # Don't execute this test by default, --force required TS_OPTIONAL="yes" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_PATHS" diff --git a/tests/ts/rename/basic b/tests/ts/rename/basic index 60855794b0..786b0926b8 100755 --- a/tests/ts/rename/basic +++ b/tests/ts/rename/basic @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="basic check" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_RENAME" diff --git a/tests/ts/rename/exit_codes b/tests/ts/rename/exit_codes index a9d9095fd8..2f79d55adf 100755 --- a/tests/ts/rename/exit_codes +++ b/tests/ts/rename/exit_codes @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="exit codes" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_RENAME" diff --git a/tests/ts/rename/overwrite b/tests/ts/rename/overwrite index b6a633a38b..96a524a224 100755 --- a/tests/ts/rename/overwrite +++ b/tests/ts/rename/overwrite @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="overwrite" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_RENAME" diff --git a/tests/ts/rename/subdir b/tests/ts/rename/subdir index f6bd758756..d4a3281a10 100755 --- a/tests/ts/rename/subdir +++ b/tests/ts/rename/subdir @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="subdir check" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_RENAME" diff --git a/tests/ts/rename/symlink b/tests/ts/rename/symlink index 91a0539687..f775ada79d 100755 --- a/tests/ts/rename/symlink +++ b/tests/ts/rename/symlink @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="symlink check" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_RENAME" diff --git a/tests/ts/schedutils/chrt b/tests/ts/schedutils/chrt index b16adbde2c..aca735f30f 100755 --- a/tests/ts/schedutils/chrt +++ b/tests/ts/schedutils/chrt @@ -16,7 +16,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="chrt" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_CHRT" diff --git a/tests/ts/schedutils/chrt-non-root b/tests/ts/schedutils/chrt-non-root index e542fc34f4..8600981fa1 100755 --- a/tests/ts/schedutils/chrt-non-root +++ b/tests/ts/schedutils/chrt-non-root @@ -16,7 +16,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="chrt-non-user" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_CHRT" diff --git a/tests/ts/schedutils/cpuset b/tests/ts/schedutils/cpuset index afd0fd5a75..0e756eef0a 100755 --- a/tests/ts/schedutils/cpuset +++ b/tests/ts/schedutils/cpuset @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="cpuset" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_CPUSET" diff --git a/tests/ts/script/buffering-race b/tests/ts/script/buffering-race index b7203837e4..a5f3d94e36 100755 --- a/tests/ts/script/buffering-race +++ b/tests/ts/script/buffering-race @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="buffering race" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_SCRIPT" diff --git a/tests/ts/script/options b/tests/ts/script/options index 9b5f9d5ab9..3cbd5c8ab4 100755 --- a/tests/ts/script/options +++ b/tests/ts/script/options @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="options" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" export SCRIPT_TEST_SECOND_SINCE_EPOCH=1432489398 diff --git a/tests/ts/script/race b/tests/ts/script/race index 6ef5309fa4..b4d2d8a819 100755 --- a/tests/ts/script/race +++ b/tests/ts/script/race @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="race conditions" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_SCRIPT" diff --git a/tests/ts/sfdisk/dos b/tests/ts/sfdisk/dos index 4aa155ce03..0cff511f3a 100755 --- a/tests/ts/sfdisk/dos +++ b/tests/ts/sfdisk/dos @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="MBR" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_SFDISK" diff --git a/tests/ts/sfdisk/dump b/tests/ts/sfdisk/dump index 09a126747a..3311d3144f 100755 --- a/tests/ts/sfdisk/dump +++ b/tests/ts/sfdisk/dump @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="script" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_SFDISK" diff --git a/tests/ts/sfdisk/gpt b/tests/ts/sfdisk/gpt index 072643375f..273d965e98 100755 --- a/tests/ts/sfdisk/gpt +++ b/tests/ts/sfdisk/gpt @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="GPT" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_SFDISK" diff --git a/tests/ts/sfdisk/movedata b/tests/ts/sfdisk/movedata index 239c82867a..5b5232cf8a 100755 --- a/tests/ts/sfdisk/movedata +++ b/tests/ts/sfdisk/movedata @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="movedata" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_SFDISK" diff --git a/tests/ts/sfdisk/resize b/tests/ts/sfdisk/resize index fa11373c62..664301d605 100755 --- a/tests/ts/sfdisk/resize +++ b/tests/ts/sfdisk/resize @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="resize" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_SFDISK" diff --git a/tests/ts/sfdisk/script b/tests/ts/sfdisk/script index 501fce14fe..1e4bb2fc0c 100755 --- a/tests/ts/sfdisk/script +++ b/tests/ts/sfdisk/script @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="script" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_SFDISK" diff --git a/tests/ts/sfdisk/wipe b/tests/ts/sfdisk/wipe index 2c930fd842..fd155251c1 100755 --- a/tests/ts/sfdisk/wipe +++ b/tests/ts/sfdisk/wipe @@ -17,7 +17,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="wipe" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_SFDISK" diff --git a/tests/ts/sha1/sha1 b/tests/ts/sha1/sha1 index 055d690a17..7d2413cff9 100755 --- a/tests/ts/sha1/sha1 +++ b/tests/ts/sha1/sha1 @@ -17,7 +17,7 @@ # TS_TOPDIR="${0%/*}/../.." -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_SHA1" diff --git a/tests/ts/swapon/devname b/tests/ts/swapon/devname index 9972f6c308..d62b9d9d80 100755 --- a/tests/ts/swapon/devname +++ b/tests/ts/swapon/devname @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="by devname" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MKSWAP" diff --git a/tests/ts/swapon/fixpgsz b/tests/ts/swapon/fixpgsz index 4479cd8f9a..68e17c1209 100755 --- a/tests/ts/swapon/fixpgsz +++ b/tests/ts/swapon/fixpgsz @@ -3,7 +3,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="fix page size" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MKSWAP" diff --git a/tests/ts/swapon/fixsig b/tests/ts/swapon/fixsig index c3104a23e0..9648e6d641 100755 --- a/tests/ts/swapon/fixsig +++ b/tests/ts/swapon/fixsig @@ -3,7 +3,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="fix signature" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MKSWAP" diff --git a/tests/ts/swapon/label b/tests/ts/swapon/label index 1a4c638b02..0931fe0d31 100755 --- a/tests/ts/swapon/label +++ b/tests/ts/swapon/label @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="by label" LABEL="testSwapLabel" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MKSWAP" diff --git a/tests/ts/swapon/uuid b/tests/ts/swapon/uuid index 7e3d1dc94e..724cec261b 100755 --- a/tests/ts/swapon/uuid +++ b/tests/ts/swapon/uuid @@ -18,7 +18,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="by uuid" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_MKSWAP" diff --git a/tests/ts/ul/basic b/tests/ts/ul/basic index 883c8dea08..56138ab755 100755 --- a/tests/ts/ul/basic +++ b/tests/ts/ul/basic @@ -19,7 +19,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="basic tests" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_UL" diff --git a/tests/ts/ul/ul b/tests/ts/ul/ul index c707658ac4..7ba72a9b12 100755 --- a/tests/ts/ul/ul +++ b/tests/ts/ul/ul @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="ul" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_UL" diff --git a/tests/ts/utmp/last b/tests/ts/utmp/last index 968310313f..b125ce94bd 100755 --- a/tests/ts/utmp/last +++ b/tests/ts/utmp/last @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="last" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_LAST" diff --git a/tests/ts/utmp/last-ipv6 b/tests/ts/utmp/last-ipv6 index d4a96457e5..45676126fe 100755 --- a/tests/ts/utmp/last-ipv6 +++ b/tests/ts/utmp/last-ipv6 @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="last ipv6" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_LAST" diff --git a/tests/ts/utmp/utmpdump-circle b/tests/ts/utmp/utmpdump-circle index f171eae04e..e8464b85b6 100755 --- a/tests/ts/utmp/utmpdump-circle +++ b/tests/ts/utmp/utmpdump-circle @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="circle" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" # this test is arch independent, no need for utmp_functions.sh diff --git a/tests/ts/utmp/utmpdump-subsecond b/tests/ts/utmp/utmpdump-subsecond index f9ee11e90f..d0d3289383 100755 --- a/tests/ts/utmp/utmpdump-subsecond +++ b/tests/ts/utmp/utmpdump-subsecond @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="subsecond" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" # this test is arch independent, no need for utmp_functions.sh diff --git a/tests/ts/utmp/utmpdump-tobin b/tests/ts/utmp/utmpdump-tobin index 33a8dc400a..556ad30459 100755 --- a/tests/ts/utmp/utmpdump-tobin +++ b/tests/ts/utmp/utmpdump-tobin @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="to binary" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" . "$TS_SELF/utmp_functions.sh" diff --git a/tests/ts/utmp/utmpdump-tobin-ipv6 b/tests/ts/utmp/utmpdump-tobin-ipv6 index aab396a129..85254b7e28 100755 --- a/tests/ts/utmp/utmpdump-tobin-ipv6 +++ b/tests/ts/utmp/utmpdump-tobin-ipv6 @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="IPv6 to binary" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" . "$TS_SELF/utmp_functions.sh" diff --git a/tests/ts/utmp/utmpdump-totxt b/tests/ts/utmp/utmpdump-totxt index 099533ca9c..7097fddf81 100755 --- a/tests/ts/utmp/utmpdump-totxt +++ b/tests/ts/utmp/utmpdump-totxt @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="to text" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" . "$TS_SELF/utmp_functions.sh" diff --git a/tests/ts/utmp/utmpdump-totxt-ipv6 b/tests/ts/utmp/utmpdump-totxt-ipv6 index bc9704e327..84ab5705a6 100755 --- a/tests/ts/utmp/utmpdump-totxt-ipv6 +++ b/tests/ts/utmp/utmpdump-totxt-ipv6 @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="IPv6 to text" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" . "$TS_SELF/utmp_functions.sh" diff --git a/tests/ts/uuid/namespace b/tests/ts/uuid/namespace index bec2c9d69d..7bfbe99af5 100755 --- a/tests/ts/uuid/namespace +++ b/tests/ts/uuid/namespace @@ -17,7 +17,7 @@ # TS_TOPDIR="${0%/*}/../.." -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_UUID_NAMESPACE" diff --git a/tests/ts/uuid/oids b/tests/ts/uuid/oids index 77e010c1da..ec9c29d044 100755 --- a/tests/ts/uuid/oids +++ b/tests/ts/uuid/oids @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="oids" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" : . > $TS_OUTPUT diff --git a/tests/ts/uuid/uuid_parser b/tests/ts/uuid/uuid_parser index 6c085b7d3c..c286f6c438 100755 --- a/tests/ts/uuid/uuid_parser +++ b/tests/ts/uuid/uuid_parser @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="uuid_parser" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_UUID_PARSER" diff --git a/tests/ts/uuid/uuidd b/tests/ts/uuid/uuidd index a38996c851..afc1121c2b 100755 --- a/tests/ts/uuid/uuidd +++ b/tests/ts/uuid/uuidd @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="uuidd" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_UUID_PARSER" diff --git a/tests/ts/uuid/uuidgen b/tests/ts/uuid/uuidgen index f34b06c739..cbaaefa7b3 100755 --- a/tests/ts/uuid/uuidgen +++ b/tests/ts/uuid/uuidgen @@ -15,7 +15,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="uuidgen" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_HELPER_UUID_PARSER" diff --git a/tests/ts/uuid/uuidparse b/tests/ts/uuid/uuidparse index 1ec371e76c..915886c8f7 100755 --- a/tests/ts/uuid/uuidparse +++ b/tests/ts/uuid/uuidparse @@ -16,7 +16,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="uuidparse" export TZ=GMT -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_UUIDPARSE" diff --git a/tests/ts/wipefs/wipefs b/tests/ts/wipefs/wipefs index 6916362997..c79be0cc6d 100755 --- a/tests/ts/wipefs/wipefs +++ b/tests/ts/wipefs/wipefs @@ -3,7 +3,7 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="wipefs" -. $TS_TOPDIR/functions.sh +. "$TS_TOPDIR"/functions.sh ts_init "$*" ts_check_test_command "$TS_CMD_WIPEFS"