Signed-off-by: Karel Zak <kzak@redhat.com>
# 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"
# 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"