[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 4ec77ce531525595d9acbe01d02064445da3e8c8
Ville Skyttä
ville.skytta at iki.fi
Sun Jan 3 22:00:51 UTC 2010
The following commit has been merged in the master branch:
commit 77dee3a3238a1874563c6d89a0fda9094255a50f
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sun Jan 3 23:49:19 2010 +0200
(testsuite) FreeBSD and Solaris sed compatibility fixes.
The linefeed between the final "d" and "}" seems to be significant for
these versions of sed. And they are quite anal about comments, so
move them outside of the sed statement here.
diff --git a/test/unit/_count_args.exp b/test/unit/_count_args.exp
index fa5417e..da61bdb 100644
--- a/test/unit/_count_args.exp
+++ b/test/unit/_count_args.exp
@@ -6,10 +6,11 @@ proc setup {} {
proc teardown {} {
assert_bash_exec {unset args COMP_CWORD COMP_LINE COMP_POINT COMP_WORDS}
+ # Delete 'COMP_WORDBREAKS' occupying two lines
assert_env_unmodified {
- # Delete 'COMP_WORDBREAKS' occupying two lines
/COMP_WORDBREAKS=/{N
- d}
+ d
+ }
}
}; # teardown()
diff --git a/test/unit/_get_cword.exp b/test/unit/_get_cword.exp
index 25e0e8d..1e6e9bf 100644
--- a/test/unit/_get_cword.exp
+++ b/test/unit/_get_cword.exp
@@ -6,10 +6,11 @@ proc setup {} {
proc teardown {} {
assert_bash_exec {unset COMP_CWORD COMP_LINE COMP_POINT COMP_WORDS}
+ # Delete 'COMP_WORDBREAKS' occupying two lines
assert_env_unmodified {
- # Delete 'COMP_WORDBREAKS' occupying two lines
/COMP_WORDBREAKS=/{N
- d}
+ d
+ }
}
}; # teardown()
--
bash-completion
More information about the Bash-completion-commits
mailing list