From Fedora Project Wiki

< QA‎ | Draft

No edit summary
(fedora test case page)
 
Line 1: Line 1:
{{Testcase_Vagrant_eth0_naming
{{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 `$ stat /sys/class/net/eth0/operstate`
# Run the following command  
# Run `$ echo $?`
 
    $ 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 #4 gives 0 as the output
# Step #3 gives 0 as the output
# Step #3 runs without any error
# 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

  1. Boot your atomic image
  2. ssh into your atomic image/instance
  3. 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.

  1. Step #3 gives 0 as the output
  2. All commands should run without throwing any error