testsuite: Make test for issue1091 re-runnable
After the initial run, one couldn't run this test again as the expected message
'building configuration' would not be printed anymore.
1 parent 8867e48 commit b16a2d872e2f50974e0ee2204513d20221e7633c
@Geod24 Geod24 authored on 18 May 2020
Mathias LANG committed on 19 May 2020
Showing 1 changed file
View
1
■■■■
test/issue1091-bogus-rebuild.sh
. $(dirname "${BASH_SOURCE[0]}")/common.sh
 
cd ${CURR_DIR}/1-exec-simple
rm -f dub.selections.json
${DUB} clean
${DUB} build --compiler=${DC} 2>&1 | grep -e 'building configuration' -c
${DUB} build --compiler=${DC} 2>&1 | { ! grep -e 'building configuration' -c; }