Skip to content

Commit

Permalink
fix shebang on waitForIt.bats
Browse files Browse the repository at this point in the history
  • Loading branch information
fchastanet committed Dec 2, 2023
1 parent 42a4c2f commit 234f1c3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/_binaries/Utils/waitForIt.bats
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function Utils::waitForIt::algo::timeoutV1WithNc::ExecCommand { #@test

function Utils::waitForIt::algo::timeoutV1WithNc::NoCommandExecutedIfFailed { #@test
(
echo "#!/bin/bash"
echo "#!/usr/bin/env bash"
echo 'exit 1'
) >"${HOME}/bin/nc"
chmod +x "${HOME}/bin/nc"
Expand Down Expand Up @@ -137,7 +137,7 @@ function Utils::waitForIt::algo::timeoutV2WithNc::ExecCommand { #@test

function Utils::waitForIt::algo::timeoutV2WithNc::NoCommandExecutedIfFailed { #@test
(
echo "#!/bin/bash"
echo "#!/usr/bin/env bash"
echo 'exit 1'
) >"${HOME}/bin/nc"
chmod +x "${HOME}/bin/nc"
Expand Down Expand Up @@ -327,7 +327,7 @@ function Utils::waitForIt::algo::whileLoopWithTcp::NoCommandExecutedIfFailed { #

function Utils::waitForIt::algo::whileLoopWithNc::WithoutCommand { #@test
(
echo "#!/bin/bash"
echo "#!/usr/bin/env bash"
echo 'exit 0'
) >"${HOME}/bin/nc"
chmod +x "${HOME}/bin/nc"
Expand All @@ -342,7 +342,7 @@ function Utils::waitForIt::algo::whileLoopWithNc::WithoutCommand { #@test

function Utils::waitForIt::algo::whileLoopWithNc::ExecCommand { #@test
(
echo "#!/bin/bash"
echo "#!/usr/bin/env bash"
echo 'exit 0'
) >"${HOME}/bin/nc"
chmod +x "${HOME}/bin/nc"
Expand All @@ -358,7 +358,7 @@ function Utils::waitForIt::algo::whileLoopWithNc::ExecCommand { #@test

function Utils::waitForIt::algo::whileLoopWithNc::NoCommandExecutedIfFailed { #@test
(
echo "#!/bin/bash"
echo "#!/usr/bin/env bash"
echo 'exit 1'
) >"${HOME}/bin/nc"
chmod +x "${HOME}/bin/nc"
Expand Down

0 comments on commit 234f1c3

Please sign in to comment.