FSL-UT-USB-007-Suspend-Resume
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[cols=">s,6a",frame="topbot",options="header"]
|====================================================================
|Name | Description

| Summary |
USB suspend and resume test

| Automated |
Yes

| Kernel Config Option |

| Software Dependency |
N/A

| Non-default Hardware Configuration |
N/A

| Test Procedure |
use the attached script to run suspend/resume overnight

	#!/bin/sh # This will only run the quickhit tests. # i=0; while [ "$i" -lt
	20000 ]; do /unit_tests/rtcwakeup.out -d rtc0 -m mem -s 2; i=`expr $i + 1`;
	done i=0; t=50; d=5; r=0; while [ "$i" -lt 20000 ]; do /unit_tests/rtcwakeup.
	out -d rtc0 -m mem -s $t; sleep $d; echo suspend $i times; i=`expr $i + 1`; r
	=`date +%s`; t=`expr $r % 10 + 50`; d=`expr $r % 30 + 1`; done

| Expected Result |
USB can work normally after resume

|====================================================================

<<<
