tests: avoid executing dirname(1) command

Bash parameter expansion does the same thing.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2014-02-16 23:54:14 +00:00 committed by Karel Zak
parent 67958a167d
commit e130ce53ce
138 changed files with 138 additions and 138 deletions

View File

@ -117,7 +117,7 @@ function ts_init_core_subtest_env {
}
function ts_init_env {
local mydir=$(ts_abspath $(dirname $0))
local mydir=$(ts_abspath ${0%/*})
LANG="POSIX"
LANGUAGE="POSIX"

View File

@ -16,7 +16,7 @@
# GNU General Public License for more details.
#
TS_TOPDIR=$(cd $(dirname $0) && pwd)
TS_TOPDIR=$(cd ${0%/*} && pwd)
SUBTESTS=
OPTS=

View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="swap bytes"
. $TS_TOPDIR/functions.sh

View File

@ -16,7 +16,7 @@
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="low-level superblocks probing"
. $TS_TOPDIR/functions.sh

View File

@ -16,7 +16,7 @@
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="partitions probing"
. $TS_TOPDIR/functions.sh

View File

@ -16,7 +16,7 @@
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="MD raid0 (whole-disks)"
. $TS_TOPDIR/functions.sh

View File

@ -16,7 +16,7 @@
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="MD raid1 (last partition)"
. $TS_TOPDIR/functions.sh

View File

@ -16,7 +16,7 @@
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="MD raid1 (whole-disks)"
. $TS_TOPDIR/functions.sh

View File

@ -2,7 +2,7 @@
# Copyright (C) 2011 Karel Zak <kzak@redhat.com>
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="config"
# Don't execute this test by default, --force required

View File

@ -16,7 +16,7 @@
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="1 month"
. $TS_TOPDIR/functions.sh

View File

@ -16,7 +16,7 @@
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="1 month with week numbers"
. $TS_TOPDIR/functions.sh

View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="3 months"
. $TS_TOPDIR/functions.sh

View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="3 months with week numbers"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="Year 2147483646"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="Year 2147483646 with week numbers"
. $TS_TOPDIR/functions.sh

View File

@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="color"
. $TS_TOPDIR/functions.sh

View File

@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="color with week numbers"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="September 1752"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="September 1752 with week numbers"
. $TS_TOPDIR/functions.sh

View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="week number given as argument"
. $TS_TOPDIR/functions.sh

View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="week number corner cases"
. $TS_TOPDIR/functions.sh

View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="year"
. $TS_TOPDIR/functions.sh

View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="year with week numbers"
. $TS_TOPDIR/functions.sh

View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="multibyte input"
. $TS_TOPDIR/functions.sh

View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="basic check"
. $TS_TOPDIR/functions.sh

View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="fill row"
. $TS_TOPDIR/functions.sh

View File

@ -16,7 +16,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="multiple files"
. $TS_TOPDIR/functions.sh

View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="separator & table"
. $TS_TOPDIR/functions.sh

View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="mkfs doubles"
. $TS_TOPDIR/functions.sh

View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="fsck endianness"
. $TS_TOPDIR/functions.sh

View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="mkfs checksums"
. $TS_TOPDIR/functions.sh

View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="mkfs endianness"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="levels"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="decode"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="delta"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="facilities"
. $TS_TOPDIR/functions.sh

View File

@ -1,6 +1,6 @@
#!/bin/bash
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="umount"
. $TS_TOPDIR/functions.sh

View File

@ -20,7 +20,7 @@
# I/O size (32KiB)
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="align 512/4K"
. $TS_TOPDIR/functions.sh

View File

@ -20,7 +20,7 @@
# I/O size (32KiB)
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="align 512/4K +alignment_offset"
. $TS_TOPDIR/functions.sh

View File

@ -20,7 +20,7 @@
# I/O size (32KiB)
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="align 512/4K +MD"
. $TS_TOPDIR/functions.sh

View File

@ -19,7 +19,7 @@
# topology.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="align 512/512"
. $TS_TOPDIR/functions.sh

View File

@ -20,7 +20,7 @@
# I/O size (32KiB)
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="align 512/512 +topology"
. $TS_TOPDIR/functions.sh

View File

@ -16,7 +16,7 @@
#
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="nested BSD"
. $TS_TOPDIR/functions.sh

View File

@ -16,7 +16,7 @@
#
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="GPT"
. $TS_TOPDIR/functions.sh

View File

@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="MBR - id"
. $TS_TOPDIR/functions.sh

View File

@ -16,7 +16,7 @@
#
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="MBR - dos mode"
. $TS_TOPDIR/functions.sh

View File

@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="MBR - non-dos mode"
. $TS_TOPDIR/functions.sh

View File

@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="invalid input tests"
. $TS_TOPDIR/functions.sh

View File

@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="sunlabel tests"
. $TS_TOPDIR/functions.sh

View File

@ -14,7 +14,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="is mounted"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="format-strings"
FILES="$TS_TOPDIR/ts/hexdump/files"
#sample input consists of hexdump-ed results of the following py3script:

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="highlighting"
FILES="$TS_TOPDIR/ts/hexdump/files"
OPTS="--color=always"

View File

@ -16,7 +16,7 @@
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="system to hw"
NTP_SERVER="0.fedora.pool.ntp.org"

View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="headers"
. $TS_TOPDIR/functions.sh

View File

@ -16,7 +16,7 @@
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="limits overflow"
. $TS_TOPDIR/functions.sh

View File

@ -16,7 +16,7 @@
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="basic limits"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="mk-rm-msg"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="mk-rm-sem"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="mk-rm-shm"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="print-size"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="last ipv6"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="last"
. $TS_TOPDIR/functions.sh

View File

@ -2,7 +2,7 @@
# Copyright (C) 2010 Karel Zak <kzak@redhat.com>
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="context"
. $TS_TOPDIR/functions.sh

View File

@ -2,7 +2,7 @@
# Copyright (C) 2010 Karel Zak <kzak@redhat.com>
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="context-py"
. $TS_TOPDIR/functions.sh

View File

@ -2,7 +2,7 @@
# Copyright (C) 2010 Karel Zak <kzak@redhat.com>
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="context (utab)"
. $TS_TOPDIR/functions.sh

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Copyright (C) 2010 Karel Zak <kzak@redhat.com>
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="context-py (utab)"
. $TS_TOPDIR/functions.sh

View File

@ -2,7 +2,7 @@
# Copyright (C) 2010 Karel Zak <kzak@redhat.com>
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="lock"
. $TS_TOPDIR/functions.sh

View File

@ -2,7 +2,7 @@
# Copyright (C) 2010 Karel Zak <kzak@redhat.com>
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="options string"
. $TS_TOPDIR/functions.sh

View File

@ -2,7 +2,7 @@
# Copyright (C) 2011 Karel Zak <kzak@redhat.com>
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="table diffs"
. $TS_TOPDIR/functions.sh

View File

@ -2,7 +2,7 @@
# Copyright (C) 2010 Karel Zak <kzak@redhat.com>
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="tab files"
. $TS_TOPDIR/functions.sh

View File

@ -2,7 +2,7 @@
# Copyright (C) 2010 Karel Zak <kzak@redhat.com>
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="tab files-py"
. $TS_TOPDIR/functions.sh

View File

@ -1,6 +1,6 @@
#!/bin/bash
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="tags"
. $TS_TOPDIR/functions.sh

View File

@ -1,6 +1,6 @@
#!/bin/bash
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="tags-py"
. $TS_TOPDIR/functions.sh

View File

@ -2,7 +2,7 @@
# Copyright (C) 2010 Karel Zak <kzak@redhat.com>
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="tab update"
. $TS_TOPDIR/functions.sh

View File

@ -2,7 +2,7 @@
# Copyright (C) 2010 Karel Zak <kzak@redhat.com>
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="tab update-py"
. $TS_TOPDIR/functions.sh

View File

@ -2,7 +2,7 @@
# Copyright (C) 2010 Karel Zak <kzak@redhat.com>
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="utils"
. $TS_TOPDIR/functions.sh

View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="islocal"
. $TS_TOPDIR/functions.sh

View File

@ -4,7 +4,7 @@
#
# This file is part of util-linux.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="defs"
. $TS_TOPDIR/functions.sh

View File

@ -28,7 +28,7 @@
# uniq > words
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="separator"
. $TS_TOPDIR/functions.sh

View File

@ -16,7 +16,7 @@
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="losetup"
. $TS_TOPDIR/functions.sh

View File

@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
. $TS_TOPDIR/functions.sh
ts_init "$*"

View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
. $TS_TOPDIR/functions.sh
ts_init "$*"

View File

@ -14,7 +14,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="mkfs checksums"
. $TS_TOPDIR/functions.sh

View File

@ -14,7 +14,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="mkfs"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="fallocate"
. $TS_TOPDIR/functions.sh

View File

@ -15,7 +15,7 @@
# This test script is modified version of 'getopt-parse.bash' example
# file in misc/ directory.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="getopt"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="ionice"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="line"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="mcookie"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="rev"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="setarch"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="setsid"
. $TS_TOPDIR/functions.sh

View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="strtosize"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="ul"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="whereis"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="regexp"
. $TS_TOPDIR/functions.sh

View File

@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="squeeze"
. $TS_TOPDIR/functions.sh

View File

@ -16,7 +16,7 @@
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="by devname"
. $TS_TOPDIR/functions.sh

View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="broken fstab"
. $TS_TOPDIR/functions.sh

View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
TS_TOPDIR="$(dirname $0)/../.."
TS_TOPDIR="${0%/*}/../.."
TS_DESC="by devname (fstab)"
. $TS_TOPDIR/functions.sh

Some files were not shown because too many files have changed in this diff Show More