From 412f91badfbea75e9c0845a7d401cc526a20c64b Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Tue, 20 Nov 2018 00:31:46 +0100 Subject: [PATCH] Missing else in STDOUT --- q433.txt | 14 +++++++------- test.sh | 1 + 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/q433.txt b/q433.txt index 1ff2da7..89a0594 100644 --- a/q433.txt +++ b/q433.txt @@ -1,7 +1,7 @@ -:90 -a b c:90 -a:10 -A:11 -5:12 -=:20 -abc:91 +:90:Donner exactement un argument +a b c:90:Donner exactement un argument +a:10:Minuscule +A:11:Majuscule +5:12:Chiffre +=:20:Autre +abc:91:Donner un seul caractère diff --git a/test.sh b/test.sh index a3b6751..9c22de1 100755 --- a/test.sh +++ b/test.sh @@ -110,6 +110,7 @@ while IFS='' read -r i || [[ -n "$line" ]]; do msg "blue" "\t\tAttendu :\t$e_stderr\n" msg "blue" "\t\tObtenu :\t$ret_e\n" fi + else msg "red" "\tSDTERR (non attendu) : $ret_e\n" fi fi