summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/fileio/init.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-08-24 08:42:57 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-08-24 08:44:22 +0200
commit80a13ec48d7071e203131d4581219acc7de4768b (patch)
tree912cca9ec786619e1bd4b6887ec78560bb1be733 /testsuites/samples/fileio/init.c
parentlibmisc/rtems-fdt: Add libmisc/rtems-fdt to the cpukit wrapup. (diff)
downloadrtems-80a13ec48d7071e203131d4581219acc7de4768b.tar.bz2
samples/fileio: Give command availability hint
Close #3088.
Diffstat (limited to '')
-rw-r--r--testsuites/samples/fileio/init.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/testsuites/samples/fileio/init.c b/testsuites/samples/fileio/init.c
index 07ec2c66c3..433266a99f 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(