2002-04-30 22:22:54 +00:00
|
|
|
#! /usr/local/bin/php
|
|
|
|
<?php
|
|
|
|
// test the uc (upper-case) application
|
|
|
|
//
|
|
|
|
// You must have done "make" in all source directories
|
|
|
|
|
|
|
|
include_once("init.inc");
|
|
|
|
|
2002-05-24 04:29:10 +00:00
|
|
|
check_env_vars();
|
2002-04-30 22:22:54 +00:00
|
|
|
clear_db();
|
|
|
|
clear_data_dirs();
|
|
|
|
init_client_dirs("account1.xml");
|
|
|
|
copy_to_download_dir("input");
|
|
|
|
add_platform();
|
2002-05-29 23:25:21 +00:00
|
|
|
add_user(null);
|
2002-04-30 22:22:54 +00:00
|
|
|
add_app("upper_case");
|
|
|
|
create_work("-appname upper_case -wu_name uc_wu -wu_template uc_wu -result_template uc_result -nresults 2 input input");
|
|
|
|
run_client();
|
|
|
|
|
|
|
|
check_results_done();
|
|
|
|
compare_file("uc_wu_0_0", "uc_correct_output");
|
|
|
|
compare_file("uc_wu_1_0", "uc_correct_output");
|
|
|
|
?>
|