Browse Source

DEV-3918 test(auto-exec-bin) fix the test, uncorrect condition to check if bin already exists

pull/1751/head
Zouhair AMAZZAL 2 years ago committed by Niccolò Primo
parent
commit
60deacdbb2
  1. 3
      sh/tests/auto-exec-bin_test.sh

3
sh/tests/auto-exec-bin_test.sh

@ -6,10 +6,11 @@ IFS='
'
FILENAME="student/auto-exec-bin.sh"
BINFILE="~/myBins/01exec"
script_dirS=$(cd -P "$(dirname "$BASH_SOURCE")" &>/dev/null && pwd)
setupbin() {
if [ -f ${FILENAME} ]; then
if [ -f ${BINFILE} ]; then
echo "bin already exists!"
else
mkdir -p ~/myBins

Loading…
Cancel
Save