xref: /OK3568_Linux_fs/external/rockchip-test/recovery/recovery_test.sh (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1#!/bin/bash
2
3DIR_RECOVERY=/rockchip-test/recovery
4
5info_view()
6{
7    echo "*****************************************************"
8    echo "***                                               ***"
9    echo "***            RECOVERY TEST                      ***"
10    echo "***                                               ***"
11    echo "*****************************************************"
12}
13
14info_view
15echo "***********************************************************"
16echo "recovery function test:					1"
17echo "***********************************************************"
18
19read -t 30 RECOVERY_CHOICE
20
21recovery_function_test()
22{
23	bash ${DIR_RECOVERY}/test_function_recovery.sh
24}
25
26case ${RECOVERY_CHOICE} in
27	1)
28		recovery_function_test
29		;;
30	*)
31		echo "not found your input."
32		;;
33esac
34