shell_module: Add a robot test case to sample.yaml

Add a basic Robot Framework test suite utilizing the robot harness
runnable in Renode.

Signed-off-by: Michał Szprejda <mszprejda@antmicro.com>
Signed-off-by: Mateusz Hołenko <mholenko@antmicro.com>
diff --git a/samples/subsys/shell/shell_module/sample.yaml b/samples/subsys/shell/shell_module/sample.yaml
index 2a66c57..2c48822 100644
--- a/samples/subsys/shell/shell_module/sample.yaml
+++ b/samples/subsys/shell/shell_module/sample.yaml
@@ -51,3 +51,7 @@
     extra_args: CONF_FILE="prj_login.conf"
     integration_platforms:
       - native_posix
+  sample.shell.shell_module.robot:
+    harness: robot
+    harness_config:
+      robot_test_path: shell_module.robot
diff --git a/samples/subsys/shell/shell_module/shell_module.robot b/samples/subsys/shell/shell_module/shell_module.robot
new file mode 100644
index 0000000..334d040
--- /dev/null
+++ b/samples/subsys/shell/shell_module/shell_module.robot
@@ -0,0 +1,13 @@
+# SPDX-License-Identifier: Apache-2.0
+
+*** Settings ***
+Resource                      ${KEYWORDS}
+
+*** Test Cases ***
+Should Read Version From Shell
+    # `Prepare Machine` keyword comes from $ZEPHYR_BASE/tests/robot/common.robot file, which is imported as a resource
+    Prepare Machine
+    Start Emulation
+    Wait For Prompt On Uart   uart:~$
+    Write Line To Uart        version
+    Wait For Line On Uart     Zephyr version