From 238050eeebb0389ecdc5fe3c016194b287a30100 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Tue, 19 Feb 2008 17:17:44 +0200 Subject: Remove redundant tests Sorry for this mess in the history, but I hope this is the last ugly commit. I accidentally copies the tests from mtd-utils.git/tests/ubi-tests/ to here. Remove them. Signed-off-by: Artem Bityutskiy --- ubi-utils/tests/runtests.sh | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100755 ubi-utils/tests/runtests.sh (limited to 'ubi-utils/tests/runtests.sh') diff --git a/ubi-utils/tests/runtests.sh b/ubi-utils/tests/runtests.sh deleted file mode 100755 index f993bc0..0000000 --- a/ubi-utils/tests/runtests.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh - -ubidev="$1" -ubiloadcmd="$2" -tests="mkvol_basic mkvol_bad mkvol_paral rsvol io_basic io_read io_update io_paral" - -if test -z "$ubidev" || test -z "$ubiloadcmd"; -then - echo "Usage:" - echo "$0 " - exit 1 -fi - -ubiname=`echo $ubidev | cut -d/ -f3` - -major=`cat /sys/class/ubi/$ubiname/dev | cut -d: -f1` - -for minor in `seq 0 4`; do - if test ! -e ${ubidev}_${minor} ; - then - mknod ${ubidev}_${minor} c $major $(($minor + 1)) - fi -done - -if ! test -c "$ubidev"; -then - echo "Error: $ubidev is not character device" - exit 1 -fi - -for t in `echo $tests`; -do - echo "Running $t $ubidev" - "./$t" "$ubidev" || exit 1 -done - -./integ "$ubiloadcmd" || exit 1 - -echo SUCCESS - -exit 0 -- cgit v1.2.3