diff options
Diffstat (limited to 'firmware/test/fat/test.sh')
-rw-r--r-- | firmware/test/fat/test.sh | 5 |
1 files changed, 3 insertions, 2 deletions
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() { | |||
25 | 25 | ||
26 | buildimage() { | 26 | buildimage() { |
27 | /sbin/mkdosfs -F 32 -s $1 $IMAGE > /dev/null | 27 | /sbin/mkdosfs -F 32 -s $1 $IMAGE > /dev/null |
28 | mount -o loop $IMAGE $MOUNT | 28 | #mount -o loop $IMAGE $MOUNT |
29 | mount $MOUNT | ||
29 | echo "Filling it with /etc files" | 30 | echo "Filling it with /etc files" |
30 | find /etc -type f -maxdepth 1 -exec cp {} $MOUNT \; | 31 | find /etc -maxdepth 1 -type f -readable -exec cp {} $MOUNT \; |
31 | for i in `seq 1 120`; | 32 | for i in `seq 1 120`; |
32 | do | 33 | do |
33 | echo apa > "$MOUNT/very $i long test filename so we can make sure they.work" | 34 | echo apa > "$MOUNT/very $i long test filename so we can make sure they.work" |