mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-19 01:30:21 +00:00
Debug command output26
This commit is contained in:
1
.github/workflows/xcat_test.yml
vendored
1
.github/workflows/xcat_test.yml
vendored
@@ -8,4 +8,5 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- run: sudo apt-get install -y fakeroot reprepro devscripts debhelper libcapture-tiny-perl libjson-perl libsoap-lite-perl libdbi-perl libcgi-pm-perl quilt openssh-server dpkg looptools genometools software-properties-common
|
||||
- run: echo "$GITHUB_WORKSPACE/opt/xcat/bin:$GITHUB_WORKSPACE/opt/xcat/sbin" >> $GITHUB_PATH
|
||||
- run: echo "/opt/xcat/bin:/opt/xcat/sbin" >> $GITHUB_PATH
|
||||
- run: perl github_action_xcat_test.pl
|
||||
|
@@ -344,17 +344,17 @@ sub install_xcat{
|
||||
print "\n------Config xcat and verify xcat is working correctly-----\n";
|
||||
@cmds = ("sudo -s /opt/xcat/share/xcat/scripts/setup-local-client.sh -f githubaction",
|
||||
"sudo -s /opt/xcat/sbin/chtab priority=1.1 policy.name=githubaction policy.rule=allow",
|
||||
"sudo sed -i '1i set -x' /etc/profile.d/xcat.sh ",
|
||||
"sudo sed -i '1i #!/bin/bash' /etc/profile.d/xcat.sh ",
|
||||
"cat /etc/profile.d/xcat.sh",
|
||||
#"sudo sed -i '1i set -x' /etc/profile.d/xcat.sh ",
|
||||
#"sudo sed -i '1i #!/bin/bash' /etc/profile.d/xcat.sh ",
|
||||
#"cat /etc/profile.d/xcat.sh",
|
||||
#"echo \$PATH",
|
||||
#"/etc/profile.d/xcat.sh && export PATH",
|
||||
#"echo \$PATH",
|
||||
#"export PATH=/opt/xcat/bin:/opt/xcat/sbin/:\$PATH",
|
||||
"echo \$PATH",
|
||||
"/etc/profile.d/xcat.sh && export PATH",
|
||||
"echo \$PATH",
|
||||
"export PATH=/opt/xcat/bin:/opt/xcat/sbin/:\$PATH",
|
||||
"echo \$PATH",
|
||||
"sudo tabdump policy",
|
||||
"tabdump policy",
|
||||
"sudo tabdump site",
|
||||
"sudo lsxcatd -a",
|
||||
"lsxcatd -a",
|
||||
"ls /opt/xcat/sbin",
|
||||
"sudo service xcatd status");
|
||||
my $ret = 0;
|
||||
|
Reference in New Issue
Block a user