]> err.no Git - util-linux/commitdiff
tests: cleanup ts/minix
authorKarel Zak <kzak@redhat.com>
Wed, 18 Feb 2009 20:19:47 +0000 (21:19 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 18 Feb 2009 20:19:47 +0000 (21:19 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/expected/minix/fsck [moved from tests/expected/ts-minix-fsck with 100% similarity]
tests/expected/minix/mkfs [moved from tests/expected/ts-minix-mkfs with 100% similarity]
tests/ts/minix/fsck [moved from tests/ts-minix-fsck with 86% similarity]
tests/ts/minix/mkfs [moved from tests/ts-minix-mkfs with 89% similarity]

similarity index 86%
rename from tests/ts-minix-fsck
rename to tests/ts/minix/fsck
index c58ed32d25c6a155153edca7441a1c64cbb52e02..33518fc62017ed9e7308e8cab9faf416d836589b 100755 (executable)
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
 #
-. ./commands.sh
-. ./functions.sh
-
-TS_COMPONENT="minix"
-TS_DESC="fsck"
+TS_TOPDIR="$(dirname $0)/../.."
+TS_DESC="mkfs checksums"
 
+. $TS_TOPDIR/functions.sh
 ts_init "$*"
 ts_skip_nonroot
 
 set -o pipefail
 
-IMAGE="$TS_OUTDIR/minix-loop.img"
+IMAGE="$TS_OUTDIR/${TS_TESTNAME}-loop.img"
 DEVICE=$(ts_device_init)
 
 ts_log "create minix fs"
similarity index 89%
rename from tests/ts-minix-mkfs
rename to tests/ts/minix/mkfs
index 7a2f2341323cee757a55e624b2d105ab17597439..72770ba186d6805b16dca50351578ddecfe0e484 100755 (executable)
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
 #
-. ./commands.sh
-. ./functions.sh
-
-TS_COMPONENT="minix"
+TS_TOPDIR="$(dirname $0)/../.."
 TS_DESC="mkfs"
 
+. $TS_TOPDIR/functions.sh
 ts_init "$*"
 ts_skip_nonroot
 
 set -o pipefail
 
-IMAGE="$TS_OUTDIR/minix-loop.img"
-TS_MOUNTPOINT="$TS_OUTDIR/minix-mnt"
+IMAGE="$TS_OUTDIR/${TS_TESTNAME}-loop.img"
 DEVICE=$(ts_device_init)
 
 ts_log "create minix fs"