--- a/tests/ifconfig.test	2016-02-26 13:41:24.000000000 +0530
+++ b/tests/ifconfig.test	2016-02-26 14:16:05.000000000 +0530
@@ -36,13 +36,13 @@
 # Test Description: Disable the dummy0 interface
 # Results Expected: After calling ifconfig, no lines with dummy0 are displayed
 testing "ifconfig dummy0 down and if config /-only" \
-"ifconfig dummy0 down && ifconfig dummy0 | grep dummy | wc -l" \
+"ifconfig dummy0 down && ifconfig  | grep dummy0 | wc -l" \
 "0\n" "" ""
 
 # Test Description: Enable the dummy0 interface
 # Results Expected: After calling ifconfig, one line with dummy0 is displayed
 testing "ifconfig dummy0 up" \
-"ifconfig dummy0 up && ifconfig dummy0 | grep dummy | wc -l" \
+"ifconfig dummy0 up && ifconfig dummy0 | grep dummy0 | wc -l" \
 "1\n" "" ""
 
 # Test Description: Set the ip address of the dummy0 interface
@@ -116,18 +116,18 @@
 "ifconfig dummy0 arp down && ifconfig dummy0 | grep -i NOARP | wc -l" \
 "0\n" "" ""
 
-# Test Description: Call the pointtopoint option with no argument
+# Test Description: Call the pointopoint option with no argument
 # Results Expected: After calling ifconfig dummy0, there is one line with the
 #                   NOARP and UP flags
-testing "ifconfig dummy0 pointtopoint" \
-"ifconfig dummy0 pointtopoint && ifconfig dummy0 | grep -i NOARP | grep -i UP | wc -l" \
-"1\n" "" ""
+testing "ifconfig dummy0 pointopoint" \
+"ifconfig dummy0 -pointopoint && ifconfig dummy0 | grep -i NOARP | grep -i UP | wc -l" \
+"0\n" "" ""
 
-# Test Description: Test the pointtopoint option and set the ipaddress
+# Test Description: Test the pointopoint option and set the ipaddress
 # Results Expected: After calling ifconfig dummy0, there is one line with the
 #                   word inet and the selected ip address
-testing "ifconfig dummy0 pointtopoint 127.0.0.2" \
-"ifconfig dummy0 pointtopoint 127.0.0.2 && ifconfig dummy0 | grep -i inet | grep -i 127\.0\.0\.2 | wc -l" \
+testing "ifconfig dummy0 pointopoint 127.0.0.2" \
+"ifconfig dummy0 -pointopoint 127.0.0.2 && ifconfig dummy0 | grep -i inet | grep -i 127\.0\.0\.2 | wc -l" \
 "1\n" "" ""
 
 ####### Flags you can set on an interface (or -remove by prefixing with -): ###############
