From: Karel Zak Date: Wed, 18 Feb 2009 15:48:20 +0000 (+0100) Subject: tests: cleanup ts/cramfs/mkfs-endianness X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd8ef463476fc46005d4ce6e2348ee32eb93225e;p=util-linux tests: cleanup ts/cramfs/mkfs-endianness Signed-off-by: Karel Zak --- diff --git a/tests/expected/ts-cramfs-endianness-mkfs b/tests/expected/cramfs/mkfs-endianness similarity index 100% rename from tests/expected/ts-cramfs-endianness-mkfs rename to tests/expected/cramfs/mkfs-endianness diff --git a/tests/ts-cramfs-endianness-mkfs b/tests/ts/cramfs/mkfs-endianness similarity index 83% rename from tests/ts-cramfs-endianness-mkfs rename to tests/ts/cramfs/mkfs-endianness index 90dc93b1..ff5bc845 100755 --- a/tests/ts-cramfs-endianness-mkfs +++ b/tests/ts/cramfs/mkfs-endianness @@ -15,19 +15,17 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # -. ./commands.sh -. ./functions.sh - -TS_COMPONENT="mkfs.cramfs" -TS_DESC="endianness-mkfs" +TS_TOPDIR="$(dirname $0)/../.." +TS_DESC="mkfs endianness" +. $TS_TOPDIR/functions.sh ts_init "$*" ts_skip_nonroot set -o pipefail -IMAGE_DATA="$TS_OUTDIR/cramfs-endianness-data" -IMAGE_CREATED="$TS_OUTDIR/cramfs.img" #Image created during the test and compared against the known images. +IMAGE_DATA="$TS_OUTDIR/${TS_TESTNAME}-data" +IMAGE_CREATED="$TS_OUTDIR/${TS_TESTNAME}-cramfs.img" #Image created during the test and compared against the known images. test_image() { local TO_ENDIANNESS="$1"; shift