fixing bugs in RG_auth keywords
Change-Id: I832c513e3e2f59a825f2c8a8be1bb4b14b43051d
diff --git a/src/test/cord-api/Framework/RG_Authentication.robot b/src/test/cord-api/Framework/RG_Authentication.robot
index a9593a5..564aaa2 100644
--- a/src/test/cord-api/Framework/RG_Authentication.robot
+++ b/src/test/cord-api/Framework/RG_Authentication.robot
@@ -23,9 +23,10 @@
[Documentation] SSH's into the RG (src) and executes a particular auth request via wpa_supplicant client. Requested packet should exist on src.
${conn_id}= SSHLibrary.Open Connection ${ip} prompt=${prompt} timeout=${prompt_timeout}
SSHLibrary.Login ${user} ${pamvss}
- SSHLibrary.Write sudo sudo wpa_supplicant -i ${iface} -Dwired -c /etc/wpa_supplicant/${conf_file}
+ SSHLibrary.Write sudo wpa_supplicant -B -i ${iface} -Dwired -c /etc/wpa_supplicant/${conf_file}
Read Until [sudo] password for ${user}:
SSHLibrary.Write ${pass}
${result}= Read Until ${prompt}
SSHLibrary.Close Connection
- [Return] ${result}
+ Should Be Equal ${result} Successfully initialized wpa_supplicant
+ [Return] ${result}
\ No newline at end of file