[Bash-completion-commits] [bash-completion] 03/04: testsuite: Add basic newgrp test case
Ville Skyttä
scop-guest at moszumanska.debian.org
Sat Feb 8 17:36:02 UTC 2014
- Previous message: [Bash-completion-commits] [bash-completion] 02/04: testsuite: Add basic test cases for deprecated completions
- Next message: [Bash-completion-commits] [bash-completion] 04/04: cal, chfn, chsh, dmesg, eject, hexdump, look, newgrp, renice, runuser, su, write: Deprecate on Linux in favor of util-linux ones (Debian: #737672)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
This is an automated email from the git hooks/post-receive script.
scop-guest pushed a commit to branch master
in repository bash-completion.
commit bb768978ba2eee1ab5d0f4e3d6158d9df1643630
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sat Feb 8 19:24:47 2014 +0200
testsuite: Add basic newgrp test case
---
test/completion/newgrp.exp | 1 +
test/lib/completions/newgrp.exp | 18 ++++++++++++++++++
2 files changed, 19 insertions(+)
diff --git a/test/completion/newgrp.exp b/test/completion/newgrp.exp
new file mode 100644
index 0000000..bbd1237
--- /dev/null
+++ b/test/completion/newgrp.exp
@@ -0,0 +1 @@
+assert_source_completions newgrp
diff --git a/test/lib/completions/newgrp.exp b/test/lib/completions/newgrp.exp
new file mode 100644
index 0000000..a5cddb8
--- /dev/null
+++ b/test/lib/completions/newgrp.exp
@@ -0,0 +1,18 @@
+proc setup {} {
+ save_env
+}
+
+
+proc teardown {} {
+ assert_env_unmodified
+}
+
+
+setup
+
+
+assert_complete_any "newgrp "
+sync_after_int
+
+
+teardown
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/bash-completion.git
- Previous message: [Bash-completion-commits] [bash-completion] 02/04: testsuite: Add basic test cases for deprecated completions
- Next message: [Bash-completion-commits] [bash-completion] 04/04: cal, chfn, chsh, dmesg, eject, hexdump, look, newgrp, renice, runuser, su, write: Deprecate on Linux in favor of util-linux ones (Debian: #737672)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Bash-completion-commits
mailing list