Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Side by Side Diff: third_party/xdg-utils/tests/xdg-su/t.03-su_badpass

Issue 151098: Patch from mdm@google.com... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Name: svn:executable
+ *
OLDNEW
(Empty)
1 #!/bin/bash
2
3 ## Include utility functions.
4 . "$XDG_TEST_DIR/include/testassertions.sh"
5 . "$XDG_TEST_DIR/include/testcontrol.sh"
6
7 ## Test function
8 test_su_badpass() {
9 test_start "$FUNCNAME: basic su password failure"
10
11 test_init
12
13 ## Require a running X server
14 require_notroot
15 require_interactive
16
17 assert_display
18
19 test_procedure
20
21 assert_interactive "Please make sure there no open password prompt windows.\n\tD O NOT enter the correct password when prompted. (Repeat as necessary)"
22
23 assert_exit 4 xdg-su -c whoami
24 assert_nostdout
25 assert_nostderr
26
27 test_result
28 }
29
30 run_test test_su_badpass
OLDNEW
« no previous file with comments | « third_party/xdg-utils/tests/xdg-su/t.02-su_basic ('k') | third_party/xdg-utils/tests/xdg-su/t.04-su_no_carg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698