[rtems commit] samples/fileio: Give command availability hint
Sebastian Huber
sebh at rtems.org
Thu Aug 24 06:44:40 UTC 2017
Module: rtems
Branch: master
Commit: 80a13ec48d7071e203131d4581219acc7de4768b
Changeset: http://git.rtems.org/rtems/commit/?id=80a13ec48d7071e203131d4581219acc7de4768b
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Aug 24 08:42:57 2017 +0200
samples/fileio: Give command availability hint
Close #3088.
---
testsuites/samples/fileio/init.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/testsuites/samples/fileio/init.c b/testsuites/samples/fileio/init.c
index 07ec2c6..433266a 100644
--- a/testsuites/samples/fileio/init.c
+++ b/testsuites/samples/fileio/init.c
@@ -639,8 +639,12 @@ static void fileio_start_shell(void)
}
printf(
- "Creating /etc/passwd and group with three useable accounts\n"
- "root/pwd , test/pwd, rtems/NO PASSWORD, chroot/NO PASSWORD"
+ "Creating /etc/passwd and group with four useable accounts:\n"
+ " root/pwd\n"
+ " test/pwd\n"
+ " rtems/NO PASSWORD\n"
+ " chroot/NO PASSWORD\n"
+ "Only the root user has access to all available commands.\n"
);
writeFile(
@@ -708,7 +712,7 @@ static void fileio_start_shell(void)
rtems_rfs_rtems_trace_shell_command);
#endif
- printf("\n =========================\n");
+ printf(" =========================\n");
printf(" starting shell\n");
printf(" =========================\n");
rtems_shell_init(
More information about the vc
mailing list