diff options
author | Frank Haverkamp <haver@vnet.ibm.com> | 2006-11-06 16:54:10 +0100 |
---|---|---|
committer | Frank Haverkamp <haver@vnet.ibm.com> | 2006-11-06 16:54:10 +0100 |
commit | 6918e0320c89bc892a6c5d2c6792e5d058e40a6e (patch) | |
tree | 6ed7195a4cf4621e4794e922c568aef55af4c294 /ubi-utils/scripts/ubi_tools_test.sh | |
parent | 02e51e7e0b4c50d900d3a246b2bce73df3a191ee (diff) |
[MTD] UBI: Update testscripts
The testscripts ensure the correct functionality of the UBI code on
my reference system.
Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
Diffstat (limited to 'ubi-utils/scripts/ubi_tools_test.sh')
-rwxr-xr-x | ubi-utils/scripts/ubi_tools_test.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ubi-utils/scripts/ubi_tools_test.sh b/ubi-utils/scripts/ubi_tools_test.sh index 9163e0c..b4d167e 100755 --- a/ubi-utils/scripts/ubi_tools_test.sh +++ b/ubi-utils/scripts/ubi_tools_test.sh @@ -7,6 +7,12 @@ # Written in shell language to reduce dependencies to more sophisticated # interpreters, which may not be available on some stupid platforms. # +# Author: Frank Haverkamp <haver@vnet.ibm.com> +# +# 1.0 Initial version +# + +VERSION="1.0" export PATH=$PATH:~/bin:/usr/local/bin:/home/dedekind/work/prj/ubi/tools/flashutils/bin/ @@ -121,7 +127,7 @@ if [ $? -ne "0" ]; then fi # Set to zero if not running on example hardware -grep 114218D /proc/cpuinfo > /dev/null +grep 1142 /proc/cpuinfo > /dev/null if [ $? -eq "0" ]; then echo "Running on example hardware" mount -o remount,rw / / @@ -135,6 +141,7 @@ fi pfiflash_basic () { echo "Calling pfiflash with test-data ... " + echo " $PFIFLASH $test_pfi" $PFIFLASH $test_pfi if [ $? -ne "0" ]; then echo "Uhhh something went wrong!" @@ -232,6 +239,7 @@ pfiflash_advanced () echo "***********************************************************************" echo "* Testing pfiflash ... *" echo "***********************************************************************" +echo "VERSION: $VERSION" pfiflash_basic pfiflash_advanced |