Revision: 199
Author:   anssi.syrjas...@eficode.com
Date:     Tue Jun 18 04:45:52 2013
Log: Edited wiki page RunningLibraryAcceptanceTests through web user interface.
http://code.google.com/p/robotframework-sshlibrary/source/detail?r=199

Modified:
 /wiki/RunningLibraryAcceptanceTests.wiki

=======================================
--- /wiki/RunningLibraryAcceptanceTests.wiki    Tue Jun 18 04:42:30 2013
+++ /wiki/RunningLibraryAcceptanceTests.wiki    Tue Jun 18 04:45:52 2013
@@ -1,33 +1,35 @@
#summary How to setup environment and run SSHLibrary's own acceptance tests.

-== Setup ==
-
-These instructions apply for Linux.
+== Setup on Linux ==

-Install `openSSH` server:
+* Install `openSSH` server:
  `sudo apt-get install openssh-server`

-Create user `test`:
+* Create user `test`:
  `sudo adduser -m test`

-With password `test`:
+* With password `test`:
  `sudo passwd test` (input `test` as the new password)

-Create user `testkey`:
+* Create user `testkey`:
  `sudo adduser -m testkey`

-Login as `testkey``
+* Login as `testkey``
  `su testkey`

-Generate new SSH key pair:
+* Generate new SSH key pair:
  `ssh-keygen -t rsa` (Input empty password)

-Add the public key to user's authorized keys:
+* Add the public key to user's authorized keys:
  `cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys`

-Finally, copy the `id_rsa` of `testkey` user to `atest/resources/keyfiles` and change permission to allow reading it. +* Finally, copy the `id_rsa` of `testkey` user to `atest/resources/keyfiles`: + `cp /home/testkey/.ssh/id_rsa <path_to_sshlibrary>/atest/resources/keyfiles/`
+
+* And change permission to allow reading it:
+ `chown <yourusername>:<yourgroup> <path_to_sshlibrary>/atest/resources/keyfiles/id_rsa`

-== Running tests ==
+== Running the acceptance tests ==

There's a shell script `atest/run_test.sh` which runs all the tests, either with pybot or jybot:
 {{{

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to