aboutsummaryrefslogtreecommitdiff
path: root/testcases/misc
diff options
context:
space:
mode:
authorChris Dearman <chris@mips.com>2012-10-17 19:54:01 -0700
committerChris Dearman <chris@mips.com>2012-10-18 11:48:33 -0700
commit37550cf5a86c7ca7424a2a318dd64e550f13f5df (patch)
tree9e4446fbd9942dc8ba6e981f3106c17c08ba125c /testcases/misc
parentec6edca7aa42b6affd989ef91b5897f96795e40f (diff)
Remove whitespace at end of line
This is a scripted change done using the following command: find . -type d -name .git -prune -o \ -type f \! -name \*\~ \! -name .\#\* \ \! -name \*.gz \! -name \*.pdf \! -name \*.patch -print0 | \ xargs -0 sed -i -e 's/[\t ]*$//' Signed-off-by: Chris Dearman <chris@mips.com>
Diffstat (limited to 'testcases/misc')
-rw-r--r--testcases/misc/math/float/README2
-rw-r--r--testcases/misc/math/float/bessel/readme2
-rw-r--r--testcases/misc/math/float/power/readme2
-rw-r--r--testcases/misc/tcore_patch_test_suites/tcore.exp10
-rwxr-xr-xtestcases/misc/tcore_patch_test_suites/tcore.sh16
5 files changed, 16 insertions, 16 deletions
diff --git a/testcases/misc/math/float/README b/testcases/misc/math/float/README
index 45eaa25a3..464bdde78 100644
--- a/testcases/misc/math/float/README
+++ b/testcases/misc/math/float/README
@@ -50,7 +50,7 @@ Notes:
------
1)
/* datafiles are supposed to be placed to the same directory as executables */
-/* this can be changed giving the absolute path of the directory to the
+/* this can be changed giving the absolute path of the directory to the
testcase ex:$ float_trigo -D /home/linux/livr */
2) number of threads is initialized to 20 per function
diff --git a/testcases/misc/math/float/bessel/readme b/testcases/misc/math/float/bessel/readme
index 53feceaf5..fb3c0910b 100644
--- a/testcases/misc/math/float/bessel/readme
+++ b/testcases/misc/math/float/bessel/readme
@@ -8,7 +8,7 @@ $ pwd
$ make all
/* start datafiles generator */
-$ genbessel
+$ genbessel
/* put datafiles where they have to be loaded */
$ make install
diff --git a/testcases/misc/math/float/power/readme b/testcases/misc/math/float/power/readme
index cf8599413..b9d2cdd16 100644
--- a/testcases/misc/math/float/power/readme
+++ b/testcases/misc/math/float/power/readme
@@ -8,7 +8,7 @@ $ pwd
$ make all
/* start datafiles generator */
-$ genpower
+$ genpower
/* put datafiles where they have to be loaded */
$ make install
diff --git a/testcases/misc/tcore_patch_test_suites/tcore.exp b/testcases/misc/tcore_patch_test_suites/tcore.exp
index 7f1dc9fa0..294cae3fb 100644
--- a/testcases/misc/tcore_patch_test_suites/tcore.exp
+++ b/testcases/misc/tcore_patch_test_suites/tcore.exp
@@ -16,7 +16,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-set curr_thread 0
+set curr_thread 0
set pass 0
proc check_buf {buf key} {
set num 0
@@ -36,7 +36,7 @@ proc check_buf {buf key} {
proc check_threads {} {
global curr_thread
global pass
- set istrue 0
+ set istrue 0
send "info threads\n"
expect {
-re " \[0-9\]+ process .*(gdb)" {
@@ -86,7 +86,7 @@ proc check_bt {} {
set number [check_buf $buf "in"]
if { $number < 1 } {
set test 1
- }
+ }
set counter [expr $counter + 1]
}
if { 0 == $test } {
@@ -106,7 +106,7 @@ proc check_fpu {num} {
send "\n"
send "info register\n"
send "\n"
- expect {
+ expect {
-re "xmm$num\[\t \]+\{f \= .*\}+\[\t \]+\{f \= .*\}" {
set buf $expect_out(0,string)
}
@@ -122,7 +122,7 @@ proc check_fpu {num} {
set number [lindex $buf2 1]
if { 0 != $number } {
set pass [expr $pass + 1]
- send_user "success while check whether core dump includes fpu information"
+ send_user "success while check whether core dump includes fpu information"
return 0
} else {
send_user "fail while check whether core dump includes fpu information"
diff --git a/testcases/misc/tcore_patch_test_suites/tcore.sh b/testcases/misc/tcore_patch_test_suites/tcore.sh
index 1fce51729..9e1093644 100755
--- a/testcases/misc/tcore_patch_test_suites/tcore.sh
+++ b/testcases/misc/tcore_patch_test_suites/tcore.sh
@@ -16,7 +16,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-# Test suite for the t-core kernel patch
+# Test suite for the t-core kernel patch
export TCID=tcore01
PTHREAD_DIR="/lib/i686"
BIN_DIR=$LTPROOT/testcases/bin/
@@ -28,7 +28,7 @@ pass=0
fail=0
check_install()
{
- if [ -f /proc/sys/kernel/core_dumps_threads ];then
+ if [ -f /proc/sys/kernel/core_dumps_threads ];then
pass=`expr $pass + 1`
return 0
else
@@ -46,7 +46,7 @@ os_check()
cleanup()
{
rm -rf $TEST_DIR
- [ -f /proc/sys/kernel/core_dumps_threads ] && ! [ -z "$OLD_PATTERN" ] &&
+ [ -f /proc/sys/kernel/core_dumps_threads ] && ! [ -z "$OLD_PATTERN" ] &&
echo "$OLD_PATTERN" > /proc/sys/kernel/core_dumps_threads
exit $1
}
@@ -80,7 +80,7 @@ prepare_dump()
}
fi
}
-#Prepare for the gdb dump
+#Prepare for the gdb dump
prepare_gdb()
{
os_check
@@ -116,7 +116,7 @@ Test_gen_core()
echo "FAIL"
fail=`expr $fail + 1`
return 1
- fi
+ fi
}
Test_core_file()
@@ -138,7 +138,7 @@ Test_core_file
echo "Linux Tcore test results" > results
echo "Total pass fail" >> results
echo " 5 $pass $fail" >> results
-cleanup $fail
+cleanup $fail
+
+
-
-