]> err.no Git - util-linux/commitdiff
tests: cleanup ts/cramfs/mkfs-endianness
authorKarel Zak <kzak@redhat.com>
Wed, 18 Feb 2009 15:48:20 +0000 (16:48 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 18 Feb 2009 15:48:20 +0000 (16:48 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/expected/cramfs/mkfs-endianness [moved from tests/expected/ts-cramfs-endianness-mkfs with 100% similarity]
tests/ts/cramfs/mkfs-endianness [moved from tests/ts-cramfs-endianness-mkfs with 83% similarity]

similarity index 83%
rename from tests/ts-cramfs-endianness-mkfs
rename to tests/ts/cramfs/mkfs-endianness
index 90dc93b174c354d60f7c94f20fe10a9b806d741f..ff5bc845584d78a0e9a7e153f19fbb374886b700 100755 (executable)
 # 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