RamanGrover29@gmail.com | 58cf330 | 2012-11-09 00:27:45 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Description : Create UDFs in different dataverses |
| 3 | * : Test for recursion in those UDFs |
| 4 | * Expected Res : Failure - Recursion is not allowed! |
| 5 | * Date : 31st Aug 2012 |
| 6 | * Ignored : This test is currently not part of the test build, because it being a negative test case expectedly throws an exception. |
| 7 | */ |
| 8 | |
| 9 | drop dataverse testdv1 if exists; |
| 10 | drop dataverse testdv2 if exists; |
| 11 | create dataverse testdv1; |
| 12 | create dataverse testdv2; |
| 13 | |
| 14 | write output to nc1:"rttest/cross-dataverse_cross-dv13.adm"; |
| 15 | |
| 16 | create function testdv1.fun01(){ |
| 17 | testdv2.fun02() |
| 18 | } |
| 19 | |
| 20 | create function testdv2.fun02(){ |
| 21 | testdv2.fun03() |
| 22 | } |
| 23 | |
| 24 | create function testdv2.fun03(){ |
| 25 | testdv1.fun01() |
| 26 | } |
| 27 | |
| 28 | testdv1.fun01(); |