NetBSD/usr.bin/make/unit-tests/varmod-assign.exp
rillig f42bee7f88 make(1): fix error message for ::!= modifier with shell error
It's just too easy to confuse st->val and val.
2020-08-25 21:16:53 +00:00

27 lines
540 B
Plaintext

mod-assign: first=1.
mod-assign: last=3.
mod-assign: appended=1 2 3.
1
2
3
mod-assign: ran:3.
mod-assign: global: 1, 3, 1 2 3, 3.
mod-assign-nested: then1t1
mod-assign-nested: else2e2
mod-assign-nested: then3t3
mod-assign-nested: else4e4
make: Bad modifier `:' for
value}
make: Bad modifier `:' for
mod-assign-empty: overwritten}
mod-assign-empty: VAR=overwritten
make: Unknown modifier ':'
sysv:y
make: Unfinished modifier for ASSIGN ('}' missing)
ok=word
make: " echo word; false " returned non-zero status
err=previous
exit status 0