FrontPage 

Fuego wiki

Login or create account

Issue 0057 in 'raw' format

; Summary: Benchmark.bonnie fails if a 'noroot...' spec is used with 'root' test account
; Owner: Tim
; Reporter: ???
; Status: open
; Priority: medium

= Description =
If you use a bonnie 'noroot' spec with a board where the test account is
'root', the test fails and you get the following message during the 'run'
phase:

{{{
   "You must use the "-u" switch when running as root."
}}}

This is due to the use of ROOT="false" in the 'noroot...' spec, which
causes fuego to not use the -u parameter to bonnie++ when it runs the program.

This whole logic is broken (IMHO), and should be replaced with something
that detects at runtime if the test account is running as root, and passes
the correct arguments to bonnie++.

This could be done in the fuego_test.sh script, or in a wrapper script.

In any event, the current behavior, which is to fail the test if you use
the wrong spec with a board, is confusing and introduces errors unnecessarily.

= Notes =
Put other free-form comments or notes here

; backlink: [[Fuego Issues List]]





TBWiki engine 1.8.3 by Tim Bird