diff --git a/.github/workflows/xcat_test.yml b/.github/workflows/xcat_test.yml index 573ec75fa..781934c5e 100644 --- a/.github/workflows/xcat_test.yml +++ b/.github/workflows/xcat_test.yml @@ -7,6 +7,4 @@ jobs: steps: - 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 diff --git a/github_action_xcat_test.pl b/github_action_xcat_test.pl index ae699cbf3..01a27fa77 100644 --- a/github_action_xcat_test.pl +++ b/github_action_xcat_test.pl @@ -353,7 +353,7 @@ sub install_xcat{ #"export PATH=/opt/xcat/bin:/opt/xcat/sbin/:\$PATH", "echo \$PATH", ". /etc/profile.d/xcat.sh && tabdump policy", - ". /etc/profile.d/xcat.sh && sudo tabdump site", + ". /etc/profile.d/xcat.sh && tabdump site", "lsxcatd -a", "ls /opt/xcat/sbin", "service xcatd status");