File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -15,5 +15,17 @@ test: test-setup
1515 for vim in $$ vims; do \
1616 $(DOCKER ) $$ vim ' +Vader! test/*' ; \
1717 done
18+ out=$$(docker run --rm "$(IMAGE ) " /vim-build/bin/argecho "arg1" "arg 2" ) ; \
19+ for line in " PWD=/" " Running as: root" " Arguments:" " arg1" " arg 2" ; do \
20+ if ! echo " $$ out" | grep -qFx -e " $$ line" ; then \
21+ echo " Line not found: $$ line" ; echo " $$ out" ; exit 1; \
22+ fi \
23+ done
24+ out=$$(docker run --rm "$(IMAGE ) " argecho "arg1" "arg 2" ) ; \
25+ for line in " Running as: vimtest" " PWD=/testplugin" " Arguments:" " -u" " /home/vimrc" " -i" " NONE" " arg1" " arg 2" ; do \
26+ if ! echo " $$ out" | grep -qFx -e " $$ line" ; then \
27+ echo " Line not found: $$ line" ; echo " $$ out" ; exit 1; \
28+ fi \
29+ done
1830
1931.PHONY : test-setup test
Original file line number Diff line number Diff line change 99echo
1010echo " Arguments:"
1111while [ $# -gt 0 ]; do
12- echo $1
12+ echo " $1 "
1313 shift
1414done
You can’t perform that action at this time.
0 commit comments