diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2010-01-19 23:13:14 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2010-01-19 23:13:14 +0200 |
commit | 7e03431ed77575d5cb13f4355a54f8cf3d66e015 (patch) | |
tree | 01815bf3ec5d5f6601540c32e8d09d5cdde0cf12 | |
parent | 42b839e8170da41ab575afc2c159a2a67849c84b (diff) | |
download | bash-completion-7e03431ed77575d5cb13f4355a54f8cf3d66e015.tar.gz |
(testsuite) Add basic tests for make.
-rw-r--r-- | test/completion/make.exp | 3 | ||||
-rw-r--r-- | test/lib/completions/make.exp | 20 |
2 files changed, 23 insertions, 0 deletions
diff --git a/test/completion/make.exp b/test/completion/make.exp new file mode 100644 index 00000000..1a1d59f5 --- /dev/null +++ b/test/completion/make.exp @@ -0,0 +1,3 @@ +if {[assert_bash_type make]} { + source "lib/completions/make.exp" +}; # if diff --git a/test/lib/completions/make.exp b/test/lib/completions/make.exp new file mode 100644 index 00000000..90b9e68b --- /dev/null +++ b/test/lib/completions/make.exp @@ -0,0 +1,20 @@ +proc setup {} { + save_env +}; # setup() + + +proc teardown {} { + assert_env_unmodified +}; # teardown() + + +setup + + +assert_complete_any "make " + + +sync_after_int + + +teardown |