2002-04-30 22:22:54 +00:00
|
|
|
#! /usr/local/bin/php
|
|
|
|
<?php
|
|
|
|
// test the concat application
|
|
|
|
//
|
|
|
|
// You must have done "make" in all source directories
|
|
|
|
|
|
|
|
include_once("init.inc");
|
|
|
|
|
2002-06-07 22:01:56 +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();
|
|
|
|
add_core_client();
|
2002-05-29 23:25:21 +00:00
|
|
|
add_user(null);
|
2002-04-30 22:22:54 +00:00
|
|
|
add_app("concat");
|
|
|
|
create_work("-appname concat -wu_name concat_wu -wu_template concat_wu -result_template concat_result -nresults 2 input input");
|
2002-06-10 06:14:18 +00:00
|
|
|
start_feeder();
|
2002-04-30 22:22:54 +00:00
|
|
|
run_client();
|
2002-06-10 06:14:18 +00:00
|
|
|
stop_feeder();
|
|
|
|
check_results_done();
|
2002-04-30 22:22:54 +00:00
|
|
|
compare_file("concat_wu_0_0", "concat_correct_output");
|
|
|
|
compare_file("concat_wu_1_0", "concat_correct_output");
|
|
|
|
?>
|