From 7155e836defb336536d39dd9aed57770c55b1aa9 Mon Sep 17 00:00:00 2001 From: Masatake YAMATO Date: Wed, 23 Nov 2022 16:03:37 +0900 Subject: [PATCH] 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 --- tests/ts/bitops/swapbytes | 2 +- tests/ts/blkdiscard/offsets | 2 +- tests/ts/blkid/dm-err | 2 +- tests/ts/blkid/low-probe | 2 +- tests/ts/blkid/lowprobe-pt | 2 +- tests/ts/blkid/md-raid0-whole | 2 +- tests/ts/blkid/md-raid1-part | 2 +- tests/ts/blkid/md-raid1-whole | 2 +- tests/ts/build-sys/config | 2 +- tests/ts/cal/bigyear | 2 +- tests/ts/cal/color | 2 +- tests/ts/cal/colorw | 2 +- tests/ts/cal/jan1753 | 2 +- tests/ts/cal/month | 2 +- tests/ts/cal/sep1752 | 2 +- tests/ts/cal/vertical | 2 +- tests/ts/cal/weekarg | 2 +- tests/ts/cal/weeknum | 2 +- tests/ts/cal/year | 2 +- tests/ts/chfn/gecos | 2 +- tests/ts/col/io | 2 +- tests/ts/col/multibyte | 2 +- tests/ts/col/newlines | 2 +- tests/ts/col/options | 2 +- tests/ts/colcrt/functional | 2 +- tests/ts/colcrt/regressions | 2 +- tests/ts/colrm/rm2-2 | 2 +- tests/ts/column/columnate | 2 +- tests/ts/column/invalid-multibyte | 2 +- tests/ts/column/multi-file | 2 +- tests/ts/column/table | 2 +- tests/ts/cramfs/doubles | 2 +- tests/ts/cramfs/fsck-bad-header | 2 +- tests/ts/cramfs/fsck-endianness | 2 +- tests/ts/cramfs/mkfs | 2 +- tests/ts/cramfs/mkfs-endianness | 2 +- tests/ts/dmesg/colors | 2 +- tests/ts/dmesg/console-levels | 2 +- tests/ts/dmesg/decode | 2 +- tests/ts/dmesg/delta | 2 +- tests/ts/dmesg/facilities | 2 +- tests/ts/dmesg/indentation | 2 +- tests/ts/eject/umount | 2 +- tests/ts/fdisk/align-512-4K | 2 +- tests/ts/fdisk/align-512-4K-63 | 2 +- tests/ts/fdisk/align-512-4K-md | 2 +- tests/ts/fdisk/align-512-512 | 2 +- tests/ts/fdisk/align-512-512-topology | 2 +- tests/ts/fdisk/bsd | 2 +- tests/ts/fdisk/gpt | 2 +- tests/ts/fdisk/gpt-resize | 2 +- tests/ts/fdisk/id | 2 +- tests/ts/fdisk/mbr-dos-mode | 2 +- tests/ts/fdisk/mbr-nondos-mode | 2 +- tests/ts/fdisk/mbr-sort | 2 +- tests/ts/fdisk/oddinput | 2 +- tests/ts/fdisk/sunlabel | 2 +- tests/ts/fincore/count | 2 +- tests/ts/findmnt/filter | 2 +- tests/ts/findmnt/outputs | 2 +- tests/ts/findmnt/target | 2 +- tests/ts/fsck/ismounted | 2 +- tests/ts/fuzzers/test_blkid_fuzz | 2 +- tests/ts/fuzzers/test_fdisk_script_fuzz | 2 +- tests/ts/fuzzers/test_last_fuzz | 2 +- tests/ts/fuzzers/test_mount_fuzz | 2 +- tests/ts/getopt/basic | 2 +- tests/ts/getopt/options | 2 +- tests/ts/hardlink/options | 2 +- tests/ts/hexdump/format-strings | 2 +- tests/ts/hexdump/highlighting | 2 +- tests/ts/hwclock/systohc | 2 +- tests/ts/ipcs/headers | 2 +- tests/ts/ipcs/limits | 4 ++-- tests/ts/ipcs/limits2 | 4 ++-- tests/ts/ipcs/mk-rm-msg | 4 ++-- tests/ts/ipcs/mk-rm-sem | 4 ++-- tests/ts/ipcs/mk-rm-shm | 4 ++-- tests/ts/isosize/print-size | 2 +- tests/ts/libfdisk/gpt | 2 +- tests/ts/libfdisk/mkpart | 2 +- tests/ts/libfdisk/mkpart-full | 2 +- tests/ts/libmount/context | 2 +- tests/ts/libmount/context-py | 2 +- tests/ts/libmount/context-utab | 2 +- tests/ts/libmount/context-utab-py | 2 +- tests/ts/libmount/debug | 2 +- tests/ts/libmount/lock | 2 +- tests/ts/libmount/loop | 2 +- tests/ts/libmount/loop-overlay | 2 +- tests/ts/libmount/optstr | 2 +- tests/ts/libmount/tabdiff | 2 +- tests/ts/libmount/tabfiles | 2 +- tests/ts/libmount/tabfiles-py | 2 +- tests/ts/libmount/tabfiles-tags | 2 +- tests/ts/libmount/tabfiles-tags-py | 2 +- tests/ts/libmount/update | 2 +- tests/ts/libmount/update-py | 2 +- tests/ts/libmount/utils | 2 +- tests/ts/libsmartcols/fromfile | 2 +- tests/ts/libsmartcols/title | 2 +- tests/ts/logger/errors | 2 +- tests/ts/logger/formats | 2 +- tests/ts/logger/journald | 2 +- tests/ts/logger/options | 2 +- tests/ts/login/islocal | 2 +- tests/ts/login/logindefs | 2 +- tests/ts/look/separator | 2 +- tests/ts/losetup/losetup | 2 +- tests/ts/losetup/losetup-blkdev | 2 +- tests/ts/losetup/losetup-loop | 2 +- tests/ts/lsblk/lsblk | 2 +- tests/ts/lscpu/lscpu | 2 +- tests/ts/lsfd/column-kthread | 2 +- tests/ts/lsfd/mkfds-directory | 2 +- tests/ts/lsfd/mkfds-mapped-packet-socket | 4 ++-- tests/ts/lsfd/mkfds-pidfd | 2 +- tests/ts/lsfd/mkfds-pipe-no-fork | 2 +- tests/ts/lsfd/mkfds-ro-block-device | 4 ++-- tests/ts/lsfd/mkfds-ro-regular-file | 4 ++-- tests/ts/lsfd/mkfds-rw-character-device | 4 ++-- tests/ts/lsfd/mkfds-socketpair | 2 +- tests/ts/lsfd/mkfds-symlink | 2 +- tests/ts/lsfd/option-filter-broken-exp | 2 +- tests/ts/lsfd/option-pid | 2 +- tests/ts/lsfd/option-summary | 4 ++-- tests/ts/lsmem/lsmem | 2 +- tests/ts/lsns/ioctl_ns | 2 +- tests/ts/lsns/netnsid | 2 +- tests/ts/lsns/nsfs | 2 +- tests/ts/md5/md5 | 2 +- tests/ts/minix/fsck | 2 +- tests/ts/minix/fsck-images | 2 +- tests/ts/minix/mkfs | 2 +- tests/ts/misc/fallocate | 2 +- tests/ts/misc/flock | 2 +- tests/ts/misc/ionice | 2 +- tests/ts/misc/line | 2 +- tests/ts/misc/mbsencode | 2 +- tests/ts/misc/mcookie | 2 +- tests/ts/misc/mountpoint | 2 +- tests/ts/misc/pipesz | 2 +- tests/ts/misc/rev | 2 +- tests/ts/misc/setarch | 2 +- tests/ts/misc/setsid | 2 +- tests/ts/misc/strtosize | 2 +- tests/ts/misc/swaplabel | 2 +- tests/ts/misc/whereis | 2 +- tests/ts/more/regexp | 2 +- tests/ts/more/squeeze | 2 +- tests/ts/mount/devname | 2 +- tests/ts/mount/dm-verity | 2 +- tests/ts/mount/fslists | 2 +- tests/ts/mount/fstab-all | 2 +- tests/ts/mount/fstab-broken | 2 +- tests/ts/mount/fstab-btrfs | 2 +- tests/ts/mount/fstab-devname | 2 +- tests/ts/mount/fstab-devname2label | 2 +- tests/ts/mount/fstab-devname2uuid | 2 +- tests/ts/mount/fstab-label | 2 +- tests/ts/mount/fstab-label2devname | 2 +- tests/ts/mount/fstab-label2uuid | 2 +- tests/ts/mount/fstab-loop | 2 +- tests/ts/mount/fstab-none | 2 +- tests/ts/mount/fstab-symlink | 2 +- tests/ts/mount/fstab-uuid | 2 +- tests/ts/mount/fstab-uuid2devname | 2 +- tests/ts/mount/fstab-uuid2label | 2 +- tests/ts/mount/label | 2 +- tests/ts/mount/move | 2 +- tests/ts/mount/regfile | 2 +- tests/ts/mount/remount | 2 +- tests/ts/mount/set_ugid_mode | 2 +- tests/ts/mount/shared-subtree | 2 +- tests/ts/mount/special | 2 +- tests/ts/mount/umount-alltargets | 2 +- tests/ts/mount/umount-recursive | 2 +- tests/ts/mount/uuid | 2 +- tests/ts/namei/logic | 2 +- tests/ts/partx/partx | 2 +- tests/ts/partx/partx-image | 2 +- tests/ts/paths/built-in | 2 +- tests/ts/rename/basic | 2 +- tests/ts/rename/exit_codes | 2 +- tests/ts/rename/overwrite | 2 +- tests/ts/rename/subdir | 2 +- tests/ts/rename/symlink | 2 +- tests/ts/schedutils/chrt | 2 +- tests/ts/schedutils/chrt-non-root | 2 +- tests/ts/schedutils/cpuset | 2 +- tests/ts/script/buffering-race | 2 +- tests/ts/script/options | 2 +- tests/ts/script/race | 2 +- tests/ts/sfdisk/dos | 2 +- tests/ts/sfdisk/dump | 2 +- tests/ts/sfdisk/gpt | 2 +- tests/ts/sfdisk/movedata | 2 +- tests/ts/sfdisk/resize | 2 +- tests/ts/sfdisk/script | 2 +- tests/ts/sfdisk/wipe | 2 +- tests/ts/sha1/sha1 | 2 +- tests/ts/swapon/devname | 2 +- tests/ts/swapon/fixpgsz | 2 +- tests/ts/swapon/fixsig | 2 +- tests/ts/swapon/label | 2 +- tests/ts/swapon/uuid | 2 +- tests/ts/ul/basic | 2 +- tests/ts/ul/ul | 2 +- tests/ts/utmp/last | 2 +- tests/ts/utmp/last-ipv6 | 2 +- tests/ts/utmp/utmpdump-circle | 2 +- tests/ts/utmp/utmpdump-subsecond | 2 +- tests/ts/utmp/utmpdump-tobin | 2 +- tests/ts/utmp/utmpdump-tobin-ipv6 | 2 +- tests/ts/utmp/utmpdump-totxt | 2 +- tests/ts/utmp/utmpdump-totxt-ipv6 | 2 +- tests/ts/uuid/namespace | 2 +- tests/ts/uuid/oids | 2 +- tests/ts/uuid/uuid_parser | 2 +- tests/ts/uuid/uuidd | 2 +- tests/ts/uuid/uuidgen | 2 +- tests/ts/uuid/uuidparse | 2 +- tests/ts/wipefs/wipefs | 2 +- 223 files changed, 233 insertions(+), 233 deletions(-) diff --git a/tests/ts/bitops/swapbytes b/tests/ts/bitops/swapbytes index 798ad53c6..127261738 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 5e724d51b..21bb78af3 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 fb6c179d0..a23b2e051 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 3847653cd..27a074b22 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 2177de98e..8e55ccc9b 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 c37f1d62e..0c957abbf 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 ea61519ef..b0ef82295 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 d12135479..1199fab4f 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 1adefd327..764492d7b 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 34139fd27..25c54f5c9 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 2e89412d9..e6fe375bc 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 9be3998c5..e26c2e3ef 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 1be3db3b8..5366e682f 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 62fd1f928..96ab1136e 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 41c30d40e..0fe1ffd3b 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 f92f04225..fe0b904de 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 f51644a46..8e0bd6f4b 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 f2aec9474..444c50bbb 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 6a8c42eaa..6bd958a59 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 aad27d40a..7c088274f 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 c7e0d09d8..976668312 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 543608cab..fa14a0af4 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 209de0b77..8a6d9048d 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 50312203a..6df11ae15 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 c6d84f155..26014b8dd 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 975d5a184..7bbba658b 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 061f5b873..ed6e9627f 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 ebeb0c44f..9bd53a71f 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 f3d643e25..32cc3f3a4 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 fa2b2cb99..28c3689f5 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 83139f012..ca01b060a 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 eb2c7fa0f..d81daf1e3 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 95d8274ff..d834b24cc 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 bcfb46c90..53af53e3f 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 90630ebf7..1e415d826 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 91d476579..d10e1e169 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 156cb1ece..d762b9864 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 f6a64e3b3..10b7a9cf5 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 ada2eacdf..673f2bba1 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 a0983ccc2..83d862943 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 d004a4f2e..13dd6c6df 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 0e026d02c..a4f8e1cf5 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 a6d1f251d..838ee9cf4 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 88e99cbd8..d44c6df09 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 325a5d47b..3d6689913 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 0f4040541..1e0dd3c93 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 cda13211a..e61110f1c 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 3ccb1a900..cdb7269cb 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 9ce272386..8477f929e 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 18e4fab60..d1c76da3e 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 a5d248a3d..198f38e5f 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 c52e44b24..57fbc60c0 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 cc274299c..57d69fea6 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 d366f28ac..4db206415 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 6a6d3b86f..6d0ec9e99 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 8c23abbf0..9b55d75c7 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 4c0d37503..ead0aac44 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 fb35b0fb8..bec278ef5 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 b92768ad8..8b2429268 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 3a4422b37..83c9134f9 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 ada7a2e23..6b4136d41 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 ffe1a1d70..477ac4b70 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 8bfa16bd4..7ce89bc47 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 708d372e8..44f2d6a4c 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 5d92d0de2..c121aba16 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 c9349071c..3fcf599ba 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 5bd1f5017..f73695f4a 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 eedcbbc52..b245b329d 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 2a1c919a2..ab69099b8 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 3901b36ff..9f055ba14 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 e57757978..cb9461592 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 228ef7c8a..fbd67ee9c 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 1ee13a9aa..2796f4b0a 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 671f23c77..22add86fd 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 77ad70f9b..6da888086 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 a9e2ca9db..c588a0dc2 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 ec59c0887..beccee4c9 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 eb85ad63f..81f40cf47 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 dcd585bc5..33e0b3b56 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 3578cd1b8..b4019295f 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 44029a69f..6038f269e 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 05b2b4793..4c026ceb0 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 da1ba7152..f5b47185e 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 c5029f479..53a211cf9 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 a8a3d6bec..c67017cdc 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 c47d13b42..59c9e4931 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 5507d54d1..e98d9228e 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 7ba678baf..e1d046b29 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 6de00ee1c..e45336cbd 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 62874a182..257ce8a99 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 03a1635eb..785a74700 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 344daaee7..2f9acb91d 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 716fed8cb..1de740e6d 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 9754afec7..ba89ddfe2 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 c5452cf14..cc484290a 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 171f18989..5c5c7c31b 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 fb69bee2d..ba93e0bbe 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 e4bba9c42..bfb844192 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 ad25e8f81..1fed2a7c0 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 d87f2cc7d..45b84716c 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 77c279700..5a1c178da 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 f80809914..f6d0d7b91 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 82716c814..0c46b693b 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 9ed87ad5f..abed3e7c3 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 30daea5d1..c5a4c3617 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 bb372705b..013999e0c 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 2db3f89fa..2ab9ce46c 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 2a5ecf307..d32a3432c 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 1fec0dd06..9bae61866 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 54693beb9..93eb7323d 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 037e5c7c6..d6ba902de 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 b790f7576..926f62d91 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 d22400777..5c4b28ec0 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 9fd10bf4c..0b093e96a 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 3badafd4d..e1bf77338 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 abb012738..4dd03e1f9 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 fc31bd6b2..876185318 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 f1d140b54..a95d3a86f 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 2ba2a97d7..598260b14 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 9441a4ea0..8d0f02b02 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 4f368f675..8ac0fe4c5 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 17d2f3aaa..e16d5bee1 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 e4513d9f5..3b3e3c168 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 58b48e126..bedf4393d 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 65365bf9e..0e0c986d5 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 e27122aea..64bf54ba1 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 9c431b57b..7dce0f222 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 fa626bfda..7cc3a95a3 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 9d04f28f0..719b064d9 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 70cab2b85..01456d292 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 57c4d5275..3c89b73d6 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 0ca86dfae..335f180dc 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 4c204228b..17d77049b 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 27ed95762..e5ee5968a 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 ec3d2d2f8..07efd987d 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 6b8edfafa..9a15aab1d 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 81cc0f86d..011497949 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 8424fc7f0..97a415c57 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 cc3a540ca..39f9510a5 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 99312162e..a8c54f37a 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 e52ccb28f..19e6cfc36 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 4668e0198..e3c31f611 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 5e849f14a..b13f79c54 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 ab2f6c009..aa07cb018 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 dc4a32904..9f04717a7 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 7d78c3583..e6233d536 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 8b1abb5c3..9db7d2b80 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 44643aefa..a799be031 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 869d71205..c6feeee1f 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 3b17ddb75..9099b02e3 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 dd4472594..fcfa92672 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 4babbbf4e..dc8689daf 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 74a87f6a7..230186a1e 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 6b7018823..53b9651c2 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 c103ac915..a66ebaeae 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 7233941ef..2ddfd48e8 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 660c5e7d0..5b64a32a6 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 7257fbc89..1d8562109 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 02b3ee161..8105fa028 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 6ec06414a..4b23e7fee 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 5b184edc7..75ca05e8c 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 b0ef960d9..4bfcae4b9 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 7d4fbff3c..7cc589fd2 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 4be9d3f7d..8e81f3f28 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 9f63a5afc..4d3e37b19 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 f1cb4bdf4..03917b782 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 cd51a2f97..9bf165e16 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 e7d4db07b..de10ff0b0 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 cd177841c..402eca6c2 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 0dbaaebf7..5e7041549 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 d56f50775..c17c68791 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 42da41a22..003f0dc3e 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 ed8a84ba5..8041354e7 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 cb43ade57..aaaaf6469 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 21edd6507..ea2172564 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 4ee4761e0..3277d6ec6 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 17c3f26fe..5902f12fb 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 db0376642..f2edfe1e5 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 d6029494a..52ce9ac0b 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 3925d1b3f..e2021003b 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 c7f471e51..a0ecf2c4f 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 bf55c1013..2301ffb32 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 60855794b..786b0926b 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 a9d9095fd..2f79d55ad 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 b6a633a38..96a524a22 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 f6bd75875..d4a3281a1 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 91a053968..f775ada79 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 b16adbde2..aca735f30 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 e542fc34f..8600981fa 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 afd0fd5a7..0e756eef0 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 b7203837e..a5f3d94e3 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 9b5f9d5ab..3cbd5c8ab 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 6ef5309fa..b4d2d8a81 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 4aa155ce0..0cff511f3 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 09a126747..3311d3144 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 072643375..273d965e9 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 239c82867..5b5232cf8 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 fa11373c6..664301d60 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 501fce14f..1e4bb2fc0 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 2c930fd84..fd155251c 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 055d690a1..7d2413cff 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 9972f6c30..d62b9d9d8 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 4479cd8f9..68e17c120 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 c3104a23e..9648e6d64 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 1a4c638b0..0931fe0d3 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 7e3d1dc94..724cec261 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 883c8dea0..56138ab75 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 c707658ac..7ba72a9b1 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 968310313..b125ce94b 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 d4a96457e..45676126f 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 f171eae04..e8464b85b 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 f9ee11e90..d0d328938 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 33a8dc400..556ad3045 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 aab396a12..85254b7e2 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 099533ca9..7097fddf8 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 bc9704e32..84ab5705a 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 bec2c9d69..7bfbe99af 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 77e010c1d..ec9c29d04 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 6c085b7d3..c286f6c43 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 a38996c85..afc1121c2 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 f34b06c73..cbaaefa7b 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 1ec371e76..915886c8f 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 691636299..c79be0cc6 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"