From bfd0c563392a6658759c6fd06434b4b1ec267b0e Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Thu, 30 Jun 2022 16:15:32 -0400 Subject: [PATCH] Get GitHub action script directory reference19 --- github_action_xcat_test.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/github_action_xcat_test.pl b/github_action_xcat_test.pl index c6a6fcba9..7f126e10d 100644 --- a/github_action_xcat_test.pl +++ b/github_action_xcat_test.pl @@ -505,7 +505,8 @@ sub run_fast_regression_test{ chomp($hostname); print "hostname = $hostname\n"; my $conf_file = "$ENV{'PWD'}/regression.conf"; - open(my $fh, '>', $conf_file) or die "Could not open test configuration file '$conf_file' $!"; + print "MG about to open file $conf_file"; + open(my $fh, '>', $conf_file) or die "Could not open test configuration file $!"; print "MG file opened"; #$cmd = "sudo echo '[System]' > $conf_file; sudo echo 'MN=$hostname' >> $conf_file; sudo echo '[Table_site]' >> $conf_file; sudo echo 'key=domain' >>$conf_file; sudo echo 'value=pok.stglabs.ibm.com' >> $conf_file"; print $fh "[System]\nMN=$hostname\n[Table_site]\nkey=domain\nvalue=pok.stglabs.ibm.com\n";