diff options
Diffstat (limited to 'vfat-volid/test.sh')
-rw-r--r-- | vfat-volid/test.sh | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/vfat-volid/test.sh b/vfat-volid/test.sh index 6225d45..c194273 100644 --- a/vfat-volid/test.sh +++ b/vfat-volid/test.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/system/bin/sh FAIL_CODE=32767 @@ -58,7 +58,6 @@ function do_test() { step=6 echo "Getting volume ID" | tee -a $LOG v1=`/system/bin/vfat-volid --path $MPT -i` - v2=`/system/bin/vfat-volid --path $MPT -s` rc=$? if [ $rc -ne 0 ]; then echo "Error when getting volume ID" | tee -a $LOG @@ -66,13 +65,10 @@ function do_test() { fi step=7 - echo "Got volume IDs $v1 and $v2, should be identical" | tee -a $LOG + echo "Got volume IDs $v1 and $3, should be identical" | tee -a $LOG if [ x$v1 != x$3 ]; then rc=$FAIL_CODE # indicate fail fi - if [ x$v1 != x$v2 ]; then - rc=$FAIL_CODE # indicate fail - fi break @@ -88,7 +84,6 @@ function do_test() { } echo "Starting" -insmod /system/modules/loop.ko mount -o rw,remount / mkdir /tmp @@ -110,5 +105,3 @@ for FTYPE in 12 16 32; do done done done -rmmod loop - |