File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,14 +11,16 @@ emoji-prefixed output lines compare cleanly against plain-text expectations.
1111No argument → usage message, non-zero exit
1212------------------------------------------
1313
14- $ bash " $ REPO_ROOT /scripts/check_changes.sh" 2 > &1 | ascii | grep " Usage:"
14+ $ output = $ ( bash " $ REPO_ROOT /scripts/check_changes.sh" 2 > &1); status = $ ? ; printf ' %s\n ' " $ output " | ascii | grep " Usage:" ; echo " exit: $ status "
1515 Usage: */ check_changes. sh <course_name > (glob)
16+ exit : 1
1617
17- Missing YAML file → error message
18- ----------------------------------
18+ Missing YAML file → error message, non-zero exit
19+ ------------------------------------------------ -
1920
20- $ bash " $ REPO_ROOT /scripts/check_changes.sh" " doesnotexist" 2 > &1 | ascii | grep " not found"
21+ $ output = $ ( bash " $ REPO_ROOT /scripts/check_changes.sh" " doesnotexist" 2 > &1); status = $ ? ; printf ' %s\n ' " $ output " | ascii | grep " not found" ; echo " exit: $ status "
2122 YAML file doesnotexist. yml not found
23+ exit : 1
2224
2325First run – no cache, no HTML → rebuild needed
2426---------------------------------------------- -
You can’t perform that action at this time.
0 commit comments