~ubuntu-branches/debian/experimental/bash-completion/experimental

« back to all changes in this revision

Viewing changes to test/lib/completions/htpasswd.exp

  • Committer: Package Import Robot
  • Author(s): David Paleino
  • Date: 2011-11-03 13:03:51 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20111103130351-mjans3w2ufbwwssf
Tags: 1:1.90-1
* bash-completion 2 preview: dynamic loading of completions
  - optionally fallback to generic file completion if _filedir
    returns nothing (Closes: #619014, LP: #533985)
  - various fixes (Closes: #622383)
  - apt: add 'download' to subcommands (Closes: #625234, LP: #720541)
  - aptitude: add 'versions' command (Closes: #604393)
  - dpkg-query: use the 'dpkg' completion (Closes: #642526)
  - lintian: remove --unpack-level (Closes: #623680)
  - rrdtool: complete filenames after commands (Closes: #577933)
  - provide profile.d hook for per user disabling of bash_completion
    (Closes: #593835)
  - mutt: support tildes when recursively sourcing muttrc files
    (Closes: #615134)
  - tar: improve tar *[cr]*f completions (Closes: #618734)
* More checks in update-bash-completion: avoid unnecessary
  sourcing of completion if symlink already exists
* Add message for users before they report a bug (debian/bug-presubj),
  I'm kind of fed-up with bugs caused by acroread.sh :/
* Removed patches merged upstream
* Drop trigger-based completion loading
* Standards-Version bump to 3.9.2, no changes needed

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
proc setup {} {
 
2
    save_env
 
3
}
 
4
 
 
5
 
 
6
proc teardown {} {
 
7
    assert_env_unmodified {
 
8
        /OLDPWD=/d
 
9
    }
 
10
}
 
11
 
 
12
 
 
13
setup
 
14
 
 
15
 
 
16
assert_complete_any "htpasswd "
 
17
sync_after_int
 
18
 
 
19
 
 
20
assert_no_complete "htpasswd -n $::srcdir/fixtures/htpasswd/ht"
 
21
sync_after_int
 
22
 
 
23
 
 
24
assert_complete_dir "htpasswd" "htpasswd " $::srcdir/fixtures/htpasswd
 
25
sync_after_int
 
26
 
 
27
 
 
28
assert_complete_dir "foo quux" "htpasswd -D htpasswd " $::srcdir/fixtures/htpasswd
 
29
sync_after_int
 
30
 
 
31
 
 
32
teardown