1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Add test's from Matthias for assigning one variable from another using let

This commit is contained in:
unknown
2007-01-19 15:43:21 +01:00
parent 0c10457ec4
commit 51942b7efe
2 changed files with 39 additions and 0 deletions

View File

@ -269,6 +269,15 @@ mysqltest: At line 1: Missing assignment operator in let
1
# Execute: echo $success ;
1
# Check if let $B = $A is an assignment per value.
let $A = initial value of A;
let $B = initial value of B;
let $B = $A
# Content of $A is: initial value of B
let $A = changed value of A;
# Content of $B is: initial value of B
let $B = changed value of B;
# Content of $A is: changed value of A
mysqltest: At line 1: Missing required argument 'filename' to command 'source'
mysqltest: At line 1: Could not open file ./non_existingFile
mysqltest: In included file "MYSQLTEST_VARDIR/tmp/recursive.sql": At line 1: Source directives are nesting too deep