summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b9b909e)
raw | patch | inline | side by side (parent: b9b909e)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 1 Feb 2008 11:05:48 +0000 (11:05 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 1 Feb 2008 11:05:48 +0000 (11:05 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8716 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/tests/client.php | patch | blob | history | |
gosa-si/tests/sqlite-check.pl | patch | blob | history |
index f66139378c013548a94da81242f91de3565075cb..867101e0f168d1428cb427cfbadb172527b85d08 100755 (executable)
--- a/gosa-si/tests/client.php
+++ b/gosa-si/tests/client.php
/* Prepare a hunge bunch of data to be send */
# add
-$data = "<xml> <header>job_ping</header> <source>10.89.1.155:20083</source><mac>00:1B:77:04:8A:6C</mac> <timestamp>19700101000001</timestamp> </xml>";
+#$data = "<xml> <header>job_ping</header> <source>10.89.1.155:20083</source><mac>00:1B:77:04:8A:6C</mac> <timestamp>19700101000001</timestamp> </xml>";
#$data = "<xml> <header>job_sayHello</header> <source>10.89.1.155:20083</source><mac>00:1B:77:04:8A:6C</mac> <timestamp>20130102133900</timestamp> </xml>";
#$data = "<xml> <header>job_ping</header> <source>10.89.1.155:20083</source><mac>00:1B:77:04:8A:6C</mac> <timestamp>20130102133900</timestamp> </xml>";
index 63f2ac6d8e3192f82755e2a7bf9365eb66876e86..f050a034dde4f2d13b6369fa12264fdd099912f3 100755 (executable)
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);
}
-$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";
}
-$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";
}
-$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);