Changeset 535 for trunk/src/gmake/Makefile.kmk
- Timestamp:
- Sep 19, 2006, 6:29:18 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/Makefile.kmk
r533 r535 30 30 CONFIG_WITH_VALUE_LENGTH \ 31 31 CONFIG_WITH_COMPARE 32 kmk_DEFS.win32 = HAVE_CYGWIN_SHELL 33 kmk_DEFS.win64 = HAVE_CYGWIN_SHELL 32 34 33 35 kmk_SOURCES = \ … … 272 274 echo "4" 273 275 274 # shell double and single quoting check. 276 277 # 278 # Shell execution tests. 279 # 280 test_shell: test_shell_quoting test_shell_newline 281 282 # shell double and single quoting check (was busted on windows in 3.81). 275 283 test_shell_quoting: 284 $(ECHO_EXT) "double quoted sTrInG" 276 285 $(ECHO_EXT) "double quoted sTrInG" | $(SED_EXT) -e "s/sTrInG/string/g" 277 286 $(ECHO_EXT) 'single quoted sTrInG' | $(SED_EXT) -e 's/sTrInG/string/g' 278 287 $(ECHO) "This string should not be printed with double quotes." 279 288 $(ECHO) 'This string should not be printed with single quotes.' 289 290 # when using batch mode shell, the newline got escaped twice and spoiling everything. 291 test_shell_newline: 292 $(ECHO_EXT) "foo foo foo" | $(SED_EXT) -e \ 293 's/foo/$@/' -e \ 294 's/foo/works/' \ 295 -e 's/foo/\!/' 296
Note:
See TracChangeset
for help on using the changeset viewer.