build system: echo and test features may be enabled
 even if these applets are enabled as ash builtins only
testsuite: add some awk tests

diff --git a/coreutils/Config.in b/coreutils/Config.in
index 29b55d4..80aca30 100644
--- a/coreutils/Config.in
+++ b/coreutils/Config.in
@@ -189,7 +189,7 @@
 config FEATURE_FANCY_ECHO
 	bool "Enable echo options (-n and -e)"
 	default y
-	depends on ECHO
+	depends on ECHO || ASH_BUILTIN_ECHO
 	help
 	  This adds options (-n and -e) to echo.
 
@@ -649,7 +649,7 @@
 config FEATURE_TEST_64
 	bool "Extend test to 64 bit"
 	default n
-	depends on TEST
+	depends on TEST || FEATURE_TEST_64
 	help
 	  Enable 64-bit support in test.