summaryrefslogtreecommitdiff
diff options
authorMaciej Kisielewski <maciej.kisielewski@canonical.com>2017-12-11 11:55:31 +0100
committerMaciej Kisielewski <maciej.kisielewski@canonical.com>2017-12-11 14:24:25 +0100
commitb0ec03d9bbb00811c2e7a9bd26ddd3f4c9a33fc1 (patch)
tree0411517925dbee12edd11f300addb5725b8429ef
parent6bb0cbef0a41677511f0626f429608ae8070a6b0 (diff)
add a step that asks the operator to wait until the watcher is established
Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>
-rwxr-xr-xbin/removable_storage_watcher1
-rw-r--r--units/usb/usb.pxu12
2 files changed, 9 insertions, 4 deletions
diff --git a/bin/removable_storage_watcher b/bin/removable_storage_watcher
index 88cae9b..6afd047 100755
--- a/bin/removable_storage_watcher
+++ b/bin/removable_storage_watcher
@@ -892,6 +892,7 @@ def main():
args.action, args.device, args.minimum_speed, args.memorycard)
# Run the actual listener and wait till it either times out of discovers
# the appropriate media changes
+ print("\n\n{} NOW\n\n".format(args.action.upper()), flush=True)
try:
return listener.check(args.timeout)
except KeyboardInterrupt:
diff --git a/units/usb/usb.pxu b/units/usb/usb.pxu
index 64950ef..52c299d 100644
--- a/units/usb/usb.pxu
+++ b/units/usb/usb.pxu
@@ -51,7 +51,8 @@ _purpose:
Check system can detect USB 2.0 storage when inserted
_steps:
1. Press continue
- 2. Connect USB 2.0 storage device
+ 2. Wait until the message "INSERT NOW" is printed on the screen
+ 3. Connect USB 2.0 storage device
_verification:
The verification of this test is automated.
Do not change the automatically selected result.
@@ -75,7 +76,8 @@ _purpose:
Check system can detect insertion of a USB 3.0 storage device
_steps:
1. Press continue
- 2. Connect USB 3.0 storage device
+ 2. Wait until the message "INSERT NOW" is printed on the screen
+ 3. Connect USB 3.0 storage device
_verification:
The verification of this test is automated.
Do not change the automatically selected result.
@@ -96,7 +98,8 @@ _purpose:
Check system can detect removal of a USB 2.0 storage device
_steps:
1. Press continue
- 2. Disconnect USB 2.0 storage device
+ 2. Wait until the message "REMOVE NOW" is printed on the screen
+ 3. Disconnect USB 2.0 storage device
_verification:
The verification of this test is automated.
Do not change the automatically selected result.
@@ -119,7 +122,8 @@ _purpose:
Check system can detect removal of a USB 3.0 storage device
_steps:
1. Press continue
- 2. Disconnect USB 3.0 storage device
+ 2. Wait until the message "REMOVE NOW" is printed on the screen
+ 3. Disconnect USB 3.0 storage device
_verification:
The verification of this test is automated.
Do not change the automatically selected result.