From f486ae26a0adfa6bcdc8ac75280e0531c88f13d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 26 Nov 2011 23:26:03 +0200 Subject: [PATCH] testsuite/assert_complete_dir: Fix passing $args to assert_complete. --- test/lib/library.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/library.exp b/test/lib/library.exp index f6e9f21a..816c038f 100644 --- a/test/lib/library.exp +++ b/test/lib/library.exp @@ -368,7 +368,7 @@ proc assert_complete_any {cmd {test ""} {prompt /@}} { proc assert_complete_dir {expected cmd dir {test ""} {args {}}} { set prompt "/@" assert_bash_exec "cd $dir" "" $prompt - assert_complete $expected $cmd $test $args + eval assert_complete \$expected \$cmd \$test $args sync_after_int $prompt assert_bash_exec {cd "$TESTDIR"} }