MT#13717 Use correct directory for data load from the test scripts

Change-Id: I348856d77a1d8916dc6421af29d1a927477f4289
changes/06/2106/2
Irina Peshinskaya 10 years ago
parent 4b1c1bac93
commit ba2ad483f4

@ -423,7 +423,7 @@ sub set_data_from_script{
sub load_data_from_script{
my($self, $collection_name) = @_;
my $collection_file = "./api-$collection_name.t";
my $collection_file = dirname($0)."/api-$collection_name.t";
my $found = 0;
if(-e $collection_file){
#dirty hack, part 1. To think about Safe

Loading…
Cancel
Save