Merge lp:~ken-vandine/unity/utah-jenkins_keyring into lp:~autopilot/unity/utah-jenkins

Proposed by Ken VanDine
Status: Merged
Merged at revision: 221
Proposed branch: lp:~ken-vandine/unity/utah-jenkins_keyring
Merge into: lp:~autopilot/unity/utah-jenkins
Diff against target: 25 lines (+15/-0)
1 file modified
resources/start_autopilot_tests.sh (+15/-0)
To merge this branch: bzr merge lp:~ken-vandine/unity/utah-jenkins_keyring
Reviewer Review Type Date Requested Status
Autopilot Hackers Pending
Review via email: mp+164488@code.launchpad.net

Commit message

Add an unlocked gnome-keyring before running the tests

Description of the change

Add an unlocked gnome-keyring before running the tests

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'resources/start_autopilot_tests.sh'
2--- resources/start_autopilot_tests.sh 2013-05-16 21:02:37 +0000
3+++ resources/start_autopilot_tests.sh 2013-05-17 18:49:28 +0000
4@@ -121,6 +121,21 @@
5 exit 1
6 fi
7
8+# Add unlocked keyring
9+echo "Added unlocked keyring"
10+KEYRINGDIR=$HOME/.gnome2/keyrings
11+mkdir -p $KEYRINGDIR
12+chmod 700 $KEYRINGDIR
13+cat <<EOF > "$KEYRINGDIR/login.keyring"
14+[keyring]
15+display-name=Login
16+ctime=0
17+mtime=0
18+lock-on-idle=false
19+lock-after=false
20+EOF
21+chmod 600 $KEYRINGDIR/login.keyring
22+
23 # Run the command
24 echo Starting suite: $THIS_TEST &>> $LOGGING_FILE
25 autopilot run -v -r -rd $BASE_RESULTS_DIR/artifacts \

Subscribers

People subscribed via source and target branches

to all changes: