2002-04-30 22:22:54 +00:00
|
|
|
#! /usr/local/bin/php
|
|
|
|
<?php
|
|
|
|
// test preferences
|
|
|
|
//
|
|
|
|
|
|
|
|
include_once("init.inc");
|
|
|
|
|
2002-06-10 06:14:18 +00:00
|
|
|
check_env_vars();
|
2002-04-30 22:22:54 +00:00
|
|
|
clear_db();
|
|
|
|
clear_data_dirs();
|
2002-07-05 05:33:40 +00:00
|
|
|
create_keys();
|
2002-06-21 06:52:47 +00:00
|
|
|
init_client_dirs("prefs1.xml");
|
2002-04-30 22:22:54 +00:00
|
|
|
copy_to_download_dir("small_input");
|
2002-07-17 22:53:43 +00:00
|
|
|
add_platform(null);
|
|
|
|
add_core_client(null);
|
2002-05-29 23:25:21 +00:00
|
|
|
add_user("laptop_prefs.xml");
|
2002-07-17 22:53:43 +00:00
|
|
|
add_app("uc_slow", null, null);
|
2002-04-30 22:22:54 +00:00
|
|
|
create_work("-appname uc_slow -wu_name ucs_wu -wu_template ucs_wu -result_template ucs_result -nresults 1 small_input");
|
|
|
|
echo "Now run the client manually; start and stop it a few times.\n";
|
2002-08-12 00:38:31 +00:00
|
|
|
start_feeder();
|
2002-04-30 22:22:54 +00:00
|
|
|
//run_client();
|
|
|
|
//compare_file("ucs_wu_0_0", "uc_small_correct_output");
|
|
|
|
?>
|