Browse Source

use shell instead of getty for test-framework

Waldemar Brodkorb 11 years ago
parent
commit
15ce6d4a74

+ 1 - 1
package/adk-test-tools/Makefile

@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=		adk-test-tools
 PKG_VERSION:=		0.1
-PKG_RELEASE:=		4
+PKG_RELEASE:=		5
 PKG_DESCR:=		helper tools and scripts for adk-test-framework
 PKG_SECTION:=		misc
 PKG_URL:=		http://openadk.org/

+ 0 - 1
package/adk-test-tools/files/test.init

@@ -5,7 +5,6 @@
 echo "Starting test script ..."
 grep shell /proc/cmdline > /dev/null 2&>1
 if [ $? -eq 0 ];then
-	echo "Use user root and password linux123 to login. And quit to finish."
 	exit 0
 fi
 if [ -x /run.sh ];then

+ 1 - 0
target/config/Config.in.runtime

@@ -39,6 +39,7 @@ config ADK_RUNTIME_TIMEZONE
 choice
 prompt "Start getty or shell after bootup"
 default ADK_RUNTIME_GETTY
+default ADK_RUNTIME_SHELL if ADK_PKG_TEST
 
 config ADK_RUNTIME_GETTY
 	boolean "start a getty after bootup"

+ 1 - 1
target/linux/config/Config.in.debug

@@ -34,7 +34,7 @@ config ADK_KERNEL_PRINTK
 	boolean
 	select ADK_KERNEL_EARLY_PRINTK
 	default y
-	#depends on !ADK_PKG_TEST
+	depends on !ADK_PKG_TEST
 	help
 	  Disable printk to save space and quieten bootup.