X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-si%2Ftests%2Fclient.php;h=2ca8ffae44df9cb1f6eaacb2ade9ae076cb8105a;hb=93b5514362e207651acbceb9ae2e3f1dde4293a1;hp=22826fd9e51988df168c37e18eb219f6998620f6;hpb=3079fbe05a15f87ecf910683d065c37d8df478d8;p=gosa.git diff --git a/gosa-si/tests/client.php b/gosa-si/tests/client.php index 22826fd9e..2ca8ffae4 100755 --- a/gosa-si/tests/client.php +++ b/gosa-si/tests/client.php @@ -20,8 +20,8 @@ for($count = 1; $count <= $zahl; $count++) # jobdb add #$data = "
gosa_network_completition
GOSAGOSAws-muc-2
"; #$data = "
job_sayHello
10.89.1.155:2008300:01:6c:9d:b9:fa00:1B:77:04:8A:6C 20130102133908
"; - #$data = "
job_ping
GOSA 00:01:6c:9d:b9:fa 00:01:6c:9d:b9:fa19700101000000
"; - + #$data = "
job_ping
GOSA 00:01:6c:9d:b9:fa 00:01:6c:9d:b9:fa20130101000000
"; + # jobdb delete #$data = "
gosa_delete_jobdb_entry
GOSA GOSA 3
"; @@ -109,9 +109,46 @@ for($count = 1; $count <= $zahl; $count++) #$data = "
gosa_query_fai_server
GOSA 10.89.1.131:20081
"; #$data = "
gosa_ping
00:01:6c:9d:aa:16 GOSA
"; #$data = "
gosa_ping
00:01:6c:9d:b9:fb GOSA
"; - $data = "
gosa_get_dak_keyring
GOSA GOSA
"; + #$data = "
gosa_get_dak_keyring
GOSA GOSA
"; #$data = "
job_ping
GOSA 00:0c:29:02:e5:4d 00:0c:29:02:e5:4d29700101000000
"; + #$data = "
gosa_network_completition
GOSA GOSA localhost
"; + + ######## + # Opsi testing + + # Get all netboot products + #$data = "
gosa_opsi_get_netboot_products
GOSA 00:01:6c:9d:aa:16
"; + + # Get netboot product for specific host + # --> + #$data = "
gosa_opsi_get_netboot_products
GOSA 00:01:6c:9d:aa:16 limux-cl-2.intranet.gonicus.de
"; + + # Get all localboot products + $data = "
gosa_opsi_get_local_products
GOSA 00:01:6c:9d:aa:16
"; + + # Get localboot product for specific host + #$data = "
gosa_opsi_get_local_products
GOSA 00:01:6c:9d:aa:16 limux-cl-2.intranet.gonicus.de
"; + + # Get product properties - global + $data = "
gosa_opsi_get_product_properties
GOSA 00:01:6c:9d:aa:16 winxppro
"; + + # Get product properties - per host + #$data = "
gosa_opsi_get_product_properties
GOSA 00:01:6c:9d:aa:16 firefox limux-cl-2.intranet.gonicus.de
"; + + # Set product properties - global + #$data = "
gosa_opsi_set_product_properties
GOSA 00:01:6c:9d:aa:16 winxppro askbeforeinstfalse
"; + + # Set product properties - per host + #$data = "
gosa_opsi_set_product_properties
GOSA 00:01:6c:9d:aa:16 limux-cl-2.intranet.gonicus.de winxppro askbeforeinstfalse
"; + + # Get hardware inventory + #$data = "
gosa_opsi_get_client_hardware
GOSA 00:01:6c:9d:aa:16 limux-cl-2.intranet.gonicus.de
"; + + # Get software inventory + #$data = "
gosa_opsi_get_client_software
GOSA 00:01:6c:9d:aa:16 limux-cl-2.intranet.gonicus.de
"; + + $sock->write($data); $answer = "nothing"; $answer = $sock->read();