From 3a5eaa8fa98f077b17e352e3afaa03d995773d5c Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Mon, 28 Feb 2011 10:48:58 +0000 Subject: Made the fat test code compile again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29456 a1c6a512-1295-4272-9138-f99709370657 --- firmware/test/fat/test.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'firmware/test/fat/test.sh') diff --git a/firmware/test/fat/test.sh b/firmware/test/fat/test.sh index 921a0c80bf..ca0a1db067 100644 --- a/firmware/test/fat/test.sh +++ b/firmware/test/fat/test.sh @@ -25,9 +25,10 @@ try() { buildimage() { /sbin/mkdosfs -F 32 -s $1 $IMAGE > /dev/null - mount -o loop $IMAGE $MOUNT + #mount -o loop $IMAGE $MOUNT + mount $MOUNT echo "Filling it with /etc files" - find /etc -type f -maxdepth 1 -exec cp {} $MOUNT \; + find /etc -maxdepth 1 -type f -readable -exec cp {} $MOUNT \; for i in `seq 1 120`; do echo apa > "$MOUNT/very $i long test filename so we can make sure they.work" -- cgit v1.2.3