1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-03 15:40:05 +00:00

fix: updating tests that are failing due to changes / new options

This commit is contained in:
munja
2021-12-05 23:56:36 +00:00
parent 8b355b8056
commit 6906f025d6
3 changed files with 130 additions and 5 deletions

View File

@@ -11,9 +11,10 @@
**/
/* grab 20 datasets from SASHELP */
%let path=%sysfunc(pathname(work));
%let work=%sysfunc(pathname(work));
%let path=&work/new;
%mf_mkdir(&path)
libname sashlp "&path";
libname sashlp "&work";
proc sql noprint;
create table members as
select distinct lowcase(memname) as memname
@@ -31,6 +32,7 @@ run;
%mp_lib2inserts(sashlp, schema=work, outref=tempref,maxobs=50)
/* check if it actually runs */
libname sashlp "&path";
options source2;
%inc tempref;

View File

@@ -17,7 +17,7 @@ lock sashelp.class;
%mp_reseterror()
%mp_assert(
iftrue=(&success=1),
desc=Checking sashelp table cannot be locked,
iftrue=(&syscc=0),
desc=Checking error condition was fixed,
outds=work.test_results
)