aboutsummaryrefslogtreecommitdiffstats
path: root/test/core_plugins.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-11-26 19:12:26 +0100
committerLoïc Hoguin <[email protected]>2018-11-26 19:12:26 +0100
commitc02adb19ba019716bea47ed13e852d202c2e3a16 (patch)
treedae5d300b1bb3228bf68373800cf7f6c1c683d54 /test/core_plugins.mk
parent06b5c19d63ac6d26543301ed70d6dfb637363016 (diff)
downloaderlang.mk-c02adb19ba019716bea47ed13e852d202c2e3a16.tar.gz
erlang.mk-c02adb19ba019716bea47ed13e852d202c2e3a16.tar.bz2
erlang.mk-c02adb19ba019716bea47ed13e852d202c2e3a16.zip
Remove some non-portable "echo -e" from a couple tests
Diffstat (limited to 'test/core_plugins.mk')
-rw-r--r--test/core_plugins.mk14
1 files changed, 8 insertions, 6 deletions
diff --git a/test/core_plugins.mk b/test/core_plugins.mk
index ac6b103..4ab71fb 100644
--- a/test/core_plugins.mk
+++ b/test/core_plugins.mk
@@ -47,7 +47,7 @@ core-plugins-early: build clean
$i "Write external plugin adddep_plugin"
$t mkdir $(APP)/adddep_plugin
- $t echo -e "DEPS += cowlib" >> $(APP)/adddep_plugin/early-plugins.mk
+ $t echo "DEPS += cowlib" >> $(APP)/adddep_plugin/early-plugins.mk
$i "Inject external plugin dependencies into $(APP)"
$t echo 'DEPS = ranch' >> $(APP)/Makefile.tmp
@@ -227,11 +227,13 @@ core-plugins-test: build clean
$i "Write external plugin touch_plugin"
$t mkdir $(APP)/touch_plugin
- $t echo -e "app::" >> $(APP)/touch_plugin/plugins.mk
- $t echo -e "\ttouch markerfile" >> $(APP)/touch_plugin/plugins.mk
- $t echo -e "test-build:: app" >> $(APP)/touch_plugin/plugins.mk
- $t echo -e "clean::" >> $(APP)/touch_plugin/plugins.mk
- $t echo -e "\trm -f markerfile" >> $(APP)/touch_plugin/plugins.mk
+ $t printf "%s\n" \
+ "app::" \
+ " touch markerfile" \
+ "test-build:: app" \
+ "clean::" \
+ " rm -f markerfile" \
+ > $(APP)/touch_plugin/plugins.mk
$i "Inject external plugin dependencies into $(APP)"
$t echo 'BUILD_DEPS = touch_plugin' >> $(APP)/Makefile.tmp