From bd8ef463476fc46005d4ce6e2348ee32eb93225e Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 18 Feb 2009 16:48:20 +0100 Subject: [PATCH] tests: cleanup ts/cramfs/mkfs-endianness Signed-off-by: Karel Zak --- .../mkfs-endianness} | 0 .../cramfs/mkfs-endianness} | 12 +++++------- 2 files changed, 5 insertions(+), 7 deletions(-) rename tests/expected/{ts-cramfs-endianness-mkfs => cramfs/mkfs-endianness} (100%) rename tests/{ts-cramfs-endianness-mkfs => ts/cramfs/mkfs-endianness} (83%) 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 -- 2.39.5