Skip to content

Commit

Permalink
use absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobBarthelmeh committed Nov 26, 2024
1 parent ae95ddd commit 9acf2ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/wolfsshd/test/sshd_term_close_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/openssl-1.1.1/lib
# get the current wolfsshd pid count to compare with
WOLFSSHD_PID_COUNT=$(pgrep wolfsshd | wc -l)

COMMAND="$TEST_CLIENT -vvv -o UserKnownHostsFile=/dev/null -o ClearAllForwardings=yes -o StrictHostKeyChecking=no -p $2 -i $PRIVATE_KEY $3@$1 \"echo test\""
COMMAND="$TEST_CLIENT -vvv -o UserKnownHostsFile=/dev/null -o ClearAllForwardings=yes -o StrictHostKeyChecking=no -p $2 -i $PRIVATE_KEY $3@$1 \"/bin/echo test\""
echo "$COMMAND"
set -e
$COMMAND
set +e

COMMAND="timeout 3 $TEST_CLIENT -vvv -o UserKnownHostsFile=/dev/null -o ClearAllForwardings=yes -o StrictHostKeyChecking=no -p $2 -i $PRIVATE_KEY $3@$1 \"sleep 10\""
COMMAND="timeout 3 $TEST_CLIENT -vvv -o UserKnownHostsFile=/dev/null -o ClearAllForwardings=yes -o StrictHostKeyChecking=no -p $2 -i $PRIVATE_KEY $3@$1 \"/bin/sleep 10\""
echo "$COMMAND &"
$COMMAND &
sleep 1
Expand Down

0 comments on commit 9acf2ee

Please sign in to comment.