main shinobi / tests / mk / kati / shellstatus_readonly / test / mk
 1ifdef KATI
 2# Test that you can't bypass the readonlyness of .SHELLSTATUS
 3NAMEWORKAROUND := .SHELLSTATUS
 4$(NAMEWORKAROUND) := 5
 5$(info $(.SHELLSTATUS))
 6else
 7$(info Makefile:4: *** cannot assign to readonly variable: .SHELLSTATUS)
 8endif
 9
10test:
11	@# Suppress the "Nothing to be done for "test"." message
12	@: