diff options
author | unknown <sasha@mysql.sashanet.com> | 2000-10-09 17:53:10 -0600 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2000-10-09 17:53:10 -0600 |
commit | 4f61f1861362bee2a2c3b225902c271f5bfae695 (patch) | |
tree | 7f35eb430d706e91e003cea9c039b41809fe7ab5 /mysql-test | |
parent | f7d7f9dfbe6daba89a2ff4ec5351ab6aa96cc513 (diff) | |
download | mariadb-git-4f61f1861362bee2a2c3b225902c271f5bfae695.tar.gz |
fixed parsing bug in mysql-test
mysql-test-run now works, althought the output needs beautification
add two *real* test cases that everyone can run - yahoo! we are moving!
mysql-test/t/3.23/select-key.test:
***MISSING WEAVE***
mysql-test/t/3.23/simple-select.test:
***MISSING WEAVE***
mysql-test/std_data/select-key.master:
***MISSING WEAVE***
mysql-test/std_data/simple-select.master:
***MISSING WEAVE***
client/mysql-test.c:
***MISSING WEAVE***
mysql-test/mysql-test-run:
"fixed" subsitution error - one still needs to do something real to make it pretty
Diffstat (limited to 'mysql-test')
-rwxr-xr-x | mysql-test/mysql-test-run | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mysql-test/mysql-test-run b/mysql-test/mysql-test-run index 09370bd1fc3..ac835e56999 100755 --- a/mysql-test/mysql-test-run +++ b/mysql-test/mysql-test-run @@ -217,15 +217,16 @@ echo echo -e " TEST\t\t\tUSER\tSYSTEM\tELAPSED\t%CPU\t RESULT" echo $DASH72 -for tf in $TESTDIR/* +for tf in $TESTDIR/*.test do + if [ -f $tf ] ; then mytime=`$TIME -f $TIME_FORMAT $MYSQL_TEST < $tf 2>&1` res=$? tf=`basename $tf` - [ $res = 1 ] && mytime=`echo -ne $mytime | cut -b 39-` && mytime=${mytime// /\\t} - $SETCOLOR_NORMAL && echo -ne "$tf\t\t$mytime" + [ $res = 1 ] && mytime=`echo -ne $mytime | cut -b 39-` + $SETCOLOR_NORMAL && echo -ne "$tf\t$mytime" [ $res = 1 ] && fail_inc && echo_fail [ $res != 1 ] && pass_inc && echo_pass @@ -240,6 +241,7 @@ do $SETCOLOR_SUCCESS && echo_ok echo fi + fi done echo $DASH72 |