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

Modified:
 /wiki/RunningLibraryAcceptanceTests.wiki

=======================================
--- /wiki/RunningLibraryAcceptanceTests.wiki    Mon Jun 17 03:47:25 2013
+++ /wiki/RunningLibraryAcceptanceTests.wiki    Tue Jun 18 04:42:30 2013
@@ -2,22 +2,37 @@

 == Setup ==

-These instructions apply for Linux (maybe OSX)
+These instructions apply for Linux.

- * Install `openSSH` server
- * Create user `test` with password `test`
- * Create user `testkey` and
-   * login as `testkey`
-   * `ssh-keygen -t rsa` (Input empty password)
-   * `cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys`
- * Copy the id_rsa of `testkey` user to `atest/resources/keyfiles` and change permission to allow reading it.
+Install `openSSH` server:
+ `sudo apt-get install openssh-server`
+
+Create user `test`:
+ `sudo adduser -m test`
+
+With password `test`:
+ `sudo passwd test` (input `test` as the new password)
+
+Create user `testkey`:
+ `sudo adduser -m testkey`
+
+Login as `testkey``
+ `su testkey`
+
+Generate new SSH key pair:
+ `ssh-keygen -t rsa` (Input empty password)
+
+Add the public key to user's authorized keys:
+ `cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys`

-The tests should now be able to run.
+Finally, copy the `id_rsa` of `testkey` user to `atest/resources/keyfiles` and change permission to allow reading it.

 == Running tests ==

-There's a shell script `atest/run_test.sh` which runs all the tests, both with Python and Jython. The script accepts normal Robot Framework command line options, so suites and tests can be filtered, ie. +There's a shell script `atest/run_test.sh` which runs all the tests, either with pybot or jybot:
 {{{
-atest/run_tests.sh  # Run all tetst
-atest/run_tests.sh --suite *public*  # Run the public key test suite
+atest/run_atests.sh python atest/ # Run all tests with pybot
+atest/run_atests.sh jython atest/ # Run all tests with jybot
 }}}
+
+The script also accepts normal Robot Framework command line options, so suites and tests can be filtered.

--

--- 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