TEST_SUBDIR=tmpdir_test-imagex-ntfs
__do_unmount() {
- if ! fusermount -z -u $1; then
- error "Failed to unmount \"$1\""
- fi
-
+ for ((i = 0; i < 10; i++)); do
+ if fusermount -z -u $1; then
+ return 0
+ else
+ sleep 1
+ fi
+ done
+ error "Failed to unmount \"$1\""
}
do_unmount() {
setfattr -n user.ads3 anotherfile -v 33;
echo -n > emptyfile;
setfattr -n user.ads emptyfile -v 8;
- setfattr -n user.ads5 emptyfile -v"`cat $srcdir/src/hardlink.c`"
+ setfattr -n user.ads5 emptyfile -v"`cat $srcdir/src/sha1.c`"
mkdir dir/subdir;
ln file dir/subdir/file;
echo -n 8 > dir/subdir/file2;