From Fedora Project Wiki
No edit summary |
(fedora test case page) |
||
Line 1: | Line 1: | ||
{{ | {{QA/Test_Case | ||
|description=Test to check if traditional net naming is turned on, we should see eth0 structures here | |description=Test to check if traditional net naming is turned on, we should see eth0 structures here | ||
|setup=Test this in atomic image | |setup=Test this in atomic image | ||
Line 7: | Line 6: | ||
# Boot your atomic image | # Boot your atomic image | ||
# ssh into your atomic image/instance | # ssh into your atomic image/instance | ||
# Run the following command | # Run the following command | ||
$ stat /sys/class/net/eth0/operstate | |||
$ echo $? | |||
|results= | |results= | ||
The following must be true to consider this a successful test run. | The following must be true to consider this a successful test run. | ||
# Step # | # Step #3 gives 0 as the output | ||
# | # All commands should run without throwing any error | ||
}} | }} |
Latest revision as of 10:33, 5 May 2016
Description
Test to check if traditional net naming is turned on, we should see eth0 structures here
Setup
Test this in atomic image
How to test
Follow these steps
- Boot your atomic image
- ssh into your atomic image/instance
- Run the following command
$ stat /sys/class/net/eth0/operstate $ echo $?
Expected Results
The following must be true to consider this a successful test run.
- Step #3 gives 0 as the output
- All commands should run without throwing any error