summaryrefslogtreecommitdiff
path: root/test/lib/completions/acroread.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/completions/acroread.exp')
-rw-r--r--test/lib/completions/acroread.exp22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/lib/completions/acroread.exp b/test/lib/completions/acroread.exp
new file mode 100644
index 00000000..4f11f905
--- /dev/null
+++ b/test/lib/completions/acroread.exp
@@ -0,0 +1,22 @@
+proc setup {} {
+ save_env
+ assert_bash_exec "touch fixtures/shared/default/t.pdf"; # Create temporary files
+}; # setup()
+
+
+proc teardown {} {
+ assert_bash_exec "rm fixtures/shared/default/t.pdf"; # Remove temporary files
+ assert_env_unmodified
+}; # teardown()
+
+
+setup
+
+
+assert_complete {"bar bar.d/" foo.d/ t.pdf} "acroread fixtures/shared/default/"
+
+
+sync_after_int
+
+
+teardown