Browse Source

fix(in-back-ground): remove echos

DEV-4397-piscine-ai-missing-file-for-ex-7-of-nlp
miguel 1 year ago committed by MSilva95
parent
commit
a97ca4ed40
  1. 5
      sh/tests/in-back-ground_test.sh

5
sh/tests/in-back-ground_test.sh

@ -22,8 +22,11 @@ if [ -f ${FILENAME} ]; then
# FILE exists and it's not empty
if [ -s ${FILENAME} ]; then
challenge .
# This will faill the grep command
challenge easy-perm/
sed -i 's/moon/sun/g' facts
challenge .
sed -i 's/sun/moon/g' facts
else
echo "The file exist but is empty"
exit 1

Loading…
Cancel
Save