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

Side by Side Diff: third_party/xdg-utils/tests/xdg-su/t.05-su_no_cflag

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_no_cflag() {
9 test_start "$FUNCNAME: expected error when no -c arg is present"
10 test_purpose "Verify bug 7136 has been corrected"
11
12 test_procedure
13
14 assert_interactive "Please close any open password prompt windows."
15
16 assert_exit 1 xdg-su whoami
17 assert_nostdout
18 assert_stderr
19
20 assert_interactive "Did a password prompt window appear?" n
21
22 test_result
23 }
24
25 run_test test_su_no_cflag
OLDNEW
« no previous file with comments | « third_party/xdg-utils/tests/xdg-su/t.04-su_no_carg ('k') | third_party/xdg-utils/tests/xdg-utils-usecases/data/icon_file.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698