3033 Commits

Author SHA1 Message Date
Igor Murzov
3ac922e4a6 testsuite: Remove unused -expect-cmd-full option from assert_complete*
This option is implicitly enabled by default, so drop it to avoid confusion
2011-06-05 22:06:29 +04:00
Igor Murzov
75775fca52 testsuite: Fix broken tests for finger and xhost 2011-06-05 22:06:28 +04:00
Igor Murzov
243abdcdd3 testsuite: Remove/use set but unused variable "test" 2011-06-05 22:06:28 +04:00
Igor Murzov
4f7e60a425 docs: Improve tester's manual 2011-06-05 22:06:27 +04:00
Igor Murzov
59cee8c139 testsuite: Improve rpm2tgz tests 2011-06-05 22:06:26 +04:00
Igor Murzov
dbd8670cf4 testsuite: Improve pkgtool tests 2011-06-05 22:06:08 +04:00
Ville Skyttä
d0c4f5ddd2 _shells: Rewrite in plain bash instead of using grep. 2011-06-04 19:58:52 +03:00
Ville Skyttä
d9a5a88332 testsuite: Add chown foo: and :foo test cases, should complete files (RedHat: #710714). 2011-06-04 13:08:02 +03:00
Ville Skyttä
d74e169935 Get rid of bash_completion self-parsing from _filedir_xspec (RedHat: #479936).
My tests show a ~5% (cached) load time improvement with this, it'll
make _filedir_xspec somewhat faster too, and it's generally less ugly.
I suppose we'll rewrite this stuff again in the near future when we
start to take advantage of dynamic completion loading, but until then
I'll take the small improvement.
2011-06-04 10:52:51 +03:00
Ville Skyttä
f1d5758c76 hddtemp: New completion. 2011-06-02 10:52:36 +03:00
Ville Skyttä
8f3777e278 Rename _ssh_bindaddress to global _ip_addresses for reuse in other completions. 2011-06-02 10:51:42 +03:00
Ville Skyttä
5bb9343fba pwdx: New completion. 2011-05-30 23:38:40 +03:00
Ville Skyttä
fa2876b51d crontab: Use /sys/fs/selinux and /selinux instead of /etc/selinux to find out if SELinux is around. 2011-05-29 19:02:13 +03:00
Ville Skyttä
0bd41f4edb jps: New completion. 2011-05-29 19:01:24 +03:00
Ville Skyttä
5a5683c080 htpasswd: New completion. 2011-05-26 22:47:41 +03:00
Ville Skyttä
8a5036a9e8 strace: Rewrite arch specific syscall extraction in plain bash. 2011-05-26 00:55:30 +03:00
Ville Skyttä
ea4219a064 strace: Don't try to extract syscall names if they're not going to be used. 2011-05-26 00:36:43 +03:00
Ville Skyttä
05f3bbec85 strace: Don't append space for -e *= completions. 2011-05-26 00:34:01 +03:00
Igor Murzov
8641a8c817 removepkg: Make removepkg completion work with root other than / 2011-05-25 01:27:38 +04:00
Igor Murzov
e82fef047a testsuite: Add basic slackpkg test case 2011-05-25 01:27:38 +04:00
Igor Murzov
7889a6682f testsuite: Add basic sbopkg test case 2011-05-25 01:27:38 +04:00
Igor Murzov
84c578c1d8 testsuite: Add basic slapt test cases 2011-05-25 01:27:37 +04:00
Igor Murzov
1a8f3c9583 testsuite: add basic rpm2tgz test case 2011-05-25 01:27:37 +04:00
Igor Murzov
f21f6e080b testsuite: add basic tests for pkgtools 2011-05-25 01:27:37 +04:00
Ville Skyttä
2fb0a3a9f6 cvs: Sort mode completions alphabetically. 2011-05-24 23:31:46 +03:00
Ville Skyttä
6b3121b30a cvs: Add editors/watchers completion. 2011-05-24 23:30:46 +03:00
Ville Skyttä
2b8c0b0261 cvs: Recognize some additional commands and synonyms. 2011-05-24 23:26:50 +03:00
Ville Skyttä
080f04fcea cvs: List "primary" command names first in mode switch. 2011-05-24 23:20:41 +03:00
Ville Skyttä
f186fc00fc cvs: Rename get_* helper functions to _cvs_*. 2011-05-24 23:12:29 +03:00
Ville Skyttä
44dd868077 cvs: Add CVS controlled file completions for admin and update. 2011-05-24 23:10:11 +03:00
Ville Skyttä
af3f67f2e5 cvs: Improve CVS controlled file completions. 2011-05-24 23:08:45 +03:00
Ville Skyttä
b6794fe66d cvs commit: Complete on entries instead of default if COMP_CVS_REMOTE is not set. 2011-05-24 20:22:23 +03:00
Ville Skyttä
bc38068568 cvs: Drop -o default to fix CVS root completions. 2011-05-24 20:20:43 +03:00
Ville Skyttä
40dc2d81df cvs: Make $prefix setting actually work. 2011-05-24 19:55:18 +03:00
Ville Skyttä
9e102cc3e3 cvs: Don't leak $prefix. 2011-05-24 19:48:32 +03:00
Ville Skyttä
c36b68c4c9 cvs: Indentation fixes. 2011-05-24 08:41:00 +03:00
Ville Skyttä
08017ee3b2 cfagent: Use _parse_help. 2011-05-20 20:44:37 +03:00
Ville Skyttä
25a74334e1 testsuite: Add basic cfagent test case. 2011-05-20 20:44:02 +03:00
Ville Skyttä
7324767680 snownews: Use _parse_help. 2011-05-20 20:35:40 +03:00
Freddy Vulto
6e7359f69c Improve _get_comp_words_by_ref()
Empty $cur with cmd = " | a " (| = cursor position)
(Alioth #313102)
2011-05-20 00:27:08 +02:00
Freddy Vulto
2f37a38b79 Improve _get_comp_words_by_ref()
Empty $cur when cmd = "|a " (| = cursor position)
2011-05-19 22:47:00 +02:00
Freddy Vulto
fc96a951b7 Fix error "bad array subscript"
Caused by _get_comp_words_by_ref() with cursor at position 0.
Patch by Igor Murzov (Debian: #559953)
2011-05-19 22:40:14 +02:00
Ville Skyttä
6e4912d9cc screen: Drop pid prefixes from session name completions where possible.
Thanks-to: Alexey Zaytsev <alexey.zaytsev@gmail.com>
2011-05-17 20:07:08 +03:00
Ville Skyttä
eefc69d83b lvm: Use _parse_usage in several tools.
Also adjust test cases to not fail if --help doesn't succeed, at least
it doesn't for me if run as non-root.
2011-05-16 18:57:43 +03:00
Ville Skyttä
b7f1f74ba0 ldapvi: Use _parse_help, add basic test case. 2011-05-15 20:16:49 +03:00
Ville Skyttä
fbf0bd3059 chsh: Use _parse_usage. 2011-05-15 20:10:37 +03:00
Ville Skyttä
d8e22da94b testsuite: Add basic msynctool test case. 2011-05-15 15:58:42 +03:00
Ville Skyttä
d6036333d9 monodevelop: Use _parse_help, split long options. 2011-05-15 15:55:59 +03:00
Ville Skyttä
0e34393198 testsuite: Add basic mdtool and monodevelop test cases. 2011-05-15 15:55:47 +03:00
Ville Skyttä
6aa581fdee dsniff etc: Use _parse_usage. 2011-05-15 15:50:28 +03:00