From: rettenbe Date: Fri, 1 Feb 2008 11:05:48 +0000 (+0000) Subject: update for better debugging X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5ec7389cebc07537566c6fd4d50ac876029ba11f;p=gosa.git update for better debugging git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8716 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/tests/client.php b/gosa-si/tests/client.php index f66139378..867101e0f 100755 --- a/gosa-si/tests/client.php +++ b/gosa-si/tests/client.php @@ -17,7 +17,7 @@ if($sock->connected()){ /* Prepare a hunge bunch of data to be send */ # add -$data = "
job_ping
10.89.1.155:2008300:1B:77:04:8A:6C 19700101000001
"; +#$data = "
job_ping
10.89.1.155:2008300:1B:77:04:8A:6C 19700101000001
"; #$data = "
job_sayHello
10.89.1.155:2008300:1B:77:04:8A:6C 20130102133900
"; #$data = "
job_ping
10.89.1.155:2008300:1B:77:04:8A:6C 20130102133900
"; diff --git a/gosa-si/tests/sqlite-check.pl b/gosa-si/tests/sqlite-check.pl index 63f2ac6d8..f050a034d 100755 --- a/gosa-si/tests/sqlite-check.pl +++ b/gosa-si/tests/sqlite-check.pl @@ -27,11 +27,11 @@ print "START\n"; my $res; my $db_name; -$db_name = "/var/lib/gosa-si/jobs.db"; + +$db_name = "/var/lib/gosa-si/gosa-si-server_jobs.db"; if (-e $db_name) { print "\n############################################################\n"; - $db_name =~ /\/([^\/]*?)\.db$/; - my $table_name = $1; + my $table_name = "jobs"; print "$db_name\n"; print "$table_name\n"; my $sqlite = GOSA::DBsqlite->new($db_name); @@ -42,12 +42,12 @@ if (-e $db_name) { } -$db_name = "/var/lib/gosa-si/known_clients.db"; +$db_name = "/var/lib/gosa-si/gosa-si-server_known_clients.db"; if (-e $db_name) { print "\n############################################################\n"; - $db_name =~ /\/([^\/]*?)\.db$/; - my $table_name = $1; - +# $db_name =~ /\/([^\/]*?)\.db$/; +# my $table_name = $1; + my $table_name = "known_clients"; print "$db_name\n"; print "$table_name\n"; @@ -59,12 +59,12 @@ if (-e $db_name) { } -$db_name = "/var/lib/gosa-si/known_server.db"; +$db_name = "/var/lib/gosa-si/gosa-si-server_known_server.db"; if (-e $db_name) { print "\n############################################################\n"; - $db_name =~ /\/([^\/]*?)\.db$/; - my $table_name = $1; - +# $db_name =~ /\/([^\/]*?)\.db$/; +# my $table_name = $1; + my $table_name = "known_server"; print "$db_name\n"; print "$table_name\n"; @@ -76,11 +76,12 @@ if (-e $db_name) { } -$db_name = "/var/lib/gosa-si/bus_known_server.db"; +$db_name = "/var/lib/gosa-si/gosa-si-bus_known_server.db"; if (-e $db_name) { print "\n############################################################\n"; - $db_name =~ /\/([^\/]*?)\.db$/; - my $table_name = $1; +# $db_name =~ /\/([^\/]*?)\.db$/; +# my $table_name = $1; + my $table_name = "known_server"; print "$db_name\n"; print "$table_name\n"; my $sqlite = GOSA::DBsqlite->new($db_name);