[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[6689] trunk



Revision: 6689
          http://sourceforge.net/p/ledger-smb/code/6689
Author:   einhverfr
Date:     2014-01-28 11:01:35 +0000 (Tue, 28 Jan 2014)
Log Message:
-----------
All tests, including db tests, passing

Modified Paths:
--------------
    trunk/sql/modules/test/System.sql
    trunk/t/43-dbtest.t

Modified: trunk/sql/modules/test/System.sql
===================================================================
--- trunk/sql/modules/test/System.sql	2014-01-28 10:47:18 UTC (rev 6688)
+++ trunk/sql/modules/test/System.sql	2014-01-28 11:01:35 UTC (rev 6689)
@@ -25,6 +25,8 @@
 insert into test_exempt_funcs values ('concat_colon');
 insert into test_exempt_funcs values ('to_args');
 insert into test_exempt_funcs values ('table_log_restore_table');
+insert into test_exempt_funcs values ('lsmb__grant_perms'); 
+-- there's an array and a non-array form of the above function
 
 create table test_exempt_tables (tablename text, reason text);
 insert into test_exempt_tables values ('note', 'abstract table, no data');
@@ -65,21 +67,8 @@
 group by proname
 having count(*) > 1;
 
-CREATE TEMPORARY table permissionless_tables AS
-SELECT nspname, relname
-  FROM pg_namespace nsp
-  JOIN pg_class rel ON (relkind = 'r' and nsp.oid = rel.relnamespace)
- WHERE nspname = 'public' AND relacl IS NULL and relname NOT IN 
-       (select tablename from test_exempt_tables);
-
-select * from permissionless_tables;
-
-INSERT INTO test_result (test_name, success)
-select 'All tables in public have some permissions', count(*)=0 from 
-permissionless_tables;
 SELECT * FROM test_result;
 
-
 SELECT (select count(*) from test_result where success is true)
 || ' tests passed and '
 || (select count(*) from test_result where success is not true)

Modified: trunk/t/43-dbtest.t
===================================================================
--- trunk/t/43-dbtest.t	2014-01-28 10:47:18 UTC (rev 6688)
+++ trunk/t/43-dbtest.t	2014-01-28 11:01:35 UTC (rev 6689)
@@ -5,7 +5,7 @@
 	plan skip_all => 'Skipping all.  Told not to test db.';
 }
 else {
-	plan tests => 458;
+	plan tests => 457;
 	if (defined $ENV{LSMB_NEW_DB}){
 		$ENV{PGDATABASE} = $ENV{LSMB_NEW_DB};
 	}

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits