Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tarot
gnulib
Commits
23d025fe
Commit
23d025fe
authored
Aug 20, 2009
by
Simon Josefsson
Browse files
exclude-tests: Handle Windows EOL.
parent
ecda40af
Changes
8
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
23d025fe
2009-08-20 Simon Josefsson <simon@josefsson.org>
* tests/test-exclude1.sh: Handle Windows EOL.
* tests/test-exclude2.sh: Likewise.
* tests/test-exclude3.sh: Likewise.
* tests/test-exclude4.sh: Likewise.
* tests/test-exclude5.sh: Likewise.
* tests/test-exclude6.sh: Likewise.
* tests/test-exclude7.sh: Likewise.
2009-08-19 Akim Demaille <demaille@gostai.com>
bootstrap: find sha1sum when named gsha1sum.
tests/test-exclude1.sh
View file @
23d025fe
...
...
@@ -37,7 +37,9 @@ baz: 0
bar/qux: 0
EOT
./test-exclude
$EXEEXT
$LIST
--
foo
'foo*'
bar foobar baz bar/qux | diff
-c
$TMP
-
||
ERR
=
1
./test-exclude
$EXEEXT
$LIST
--
foo
'foo*'
bar foobar baz bar/qux |
tr
-d
'\015'
|
diff
-c
$TMP
-
||
ERR
=
1
rm
-f
$TMP
$LIST
exit
$ERR
tests/test-exclude2.sh
View file @
23d025fe
...
...
@@ -37,7 +37,9 @@ baz: 1
bar/qux: 0
EOT
./test-exclude
$EXEEXT
-casefold
$LIST
--
foo
'foo*'
bar foobar baz bar/qux| diff
-c
$TMP
-
||
ERR
=
1
./test-exclude
$EXEEXT
-casefold
$LIST
--
foo
'foo*'
bar foobar baz bar/qux |
tr
-d
'\015'
|
diff
-c
$TMP
-
||
ERR
=
1
rm
-f
$TMP
$LIST
exit
$ERR
tests/test-exclude3.sh
View file @
23d025fe
...
...
@@ -37,7 +37,9 @@ baz: 1
bar/qux: 1
EOT
./test-exclude
$EXEEXT
-include
$LIST
--
foo
'foo*'
bar foobar baz bar/qux| diff
-c
$TMP
-
||
ERR
=
1
./test-exclude
$EXEEXT
-include
$LIST
--
foo
'foo*'
bar foobar baz bar/qux |
tr
-d
'\015'
|
diff
-c
$TMP
-
||
ERR
=
1
rm
-f
$TMP
$LIST
exit
$ERR
tests/test-exclude4.sh
View file @
23d025fe
...
...
@@ -32,7 +32,9 @@ cat > $TMP <<EOT
foobar: 1
EOT
./test-exclude
$EXEEXT
-wildcards
$LIST
--
foobar | diff
-c
$TMP
-
||
ERR
=
1
./test-exclude
$EXEEXT
-wildcards
$LIST
--
foobar |
tr
-d
'\015'
|
diff
-c
$TMP
-
||
ERR
=
1
rm
-f
$TMP
$LIST
exit
$ERR
tests/test-exclude5.sh
View file @
23d025fe
...
...
@@ -35,7 +35,9 @@ barz: 0
foo/bar: 1
EOT
./test-exclude
$EXEEXT
-leading_dir
$LIST
--
bar bar/qux barz foo/bar | diff
-c
$TMP
-
||
ERR
=
1
./test-exclude
$EXEEXT
-leading_dir
$LIST
--
bar bar/qux barz foo/bar |
tr
-d
'\015'
|
diff
-c
$TMP
-
||
ERR
=
1
rm
-f
$TMP
$LIST
exit
$ERR
tests/test-exclude6.sh
View file @
23d025fe
...
...
@@ -33,7 +33,9 @@ bar: 1
foo/bar: 0
EOT
./test-exclude
$EXEEXT
-anchored
$LIST
--
bar foo/bar | diff
-c
$TMP
-
||
ERR
=
1
./test-exclude
$EXEEXT
-anchored
$LIST
--
bar foo/bar |
tr
-d
'\015'
|
diff
-c
$TMP
-
||
ERR
=
1
rm
-f
$TMP
$LIST
exit
$ERR
tests/test-exclude7.sh
View file @
23d025fe
...
...
@@ -33,8 +33,10 @@ bar: 1
bar: 0
EOT
./test-exclude
$EXEEXT
$LIST
-include
$LIST
--
bar
>
$TMP
.1
./test-exclude
$EXEEXT
-include
$LIST
-no-include
$LIST
--
bar
>>
$TMP
.1
./test-exclude
$EXEEXT
$LIST
-include
$LIST
--
bar |
tr
-d
'\015'
>
$TMP
.1
./test-exclude
$EXEEXT
-include
$LIST
-no-include
$LIST
--
bar |
tr
-d
'\015'
>>
$TMP
.1
diff
-c
$TMP
$TMP
.1
||
ERR
=
1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment