This commit is contained in:
Olof hagsand 2022-02-10 17:14:51 +01:00
parent 648b416cb9
commit 3ebc78e3ae
2 changed files with 185 additions and 1 deletions

View file

@ -549,7 +549,7 @@ function expectpart(){
fi
# Loop over all variable args expect strings (skip first two args)
# note that "expect" var is never actually used
# Then test positive for strings, if the token --neg-- is detected, then test negative for the rest
# Then test positive for strings, if the token --not-- is detected, then test negative for the rest
positive=true;
let i=0;
for exp in "$@"; do