Add #bin/bash to utils.sh
and update fsadm test to current version of aux script
+#!/bin/bash
# Copyright (C) 2011 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing to use,
cleanup_mounted_and_teardown()
{
umount $mount_dir || true
- teardown
+ aux teardown
}
fscheck_ext3()
# Test for block sizes != 1024 (rhbz #480022)
lvcreate -n $lv1 -L20M $vg
-trap 'aux cleanup_mounted_and_teardown' EXIT
+trap 'cleanup_mounted_and_teardown' EXIT
if check_missing ext3; then
mkfs.ext3 -b4096 -j $dev_vg_lv
which mkfs.ext3 || exit 200
aux prepare_pvs 2 8
+test -e LOCAL_CLVMD && exit 200
var_lock="$DM_DEV_DIR/$vg1/$lv1"
# keep in sync with aux configured lockingdir