-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
52 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
set -e | ||
|
||
diff <(tuttest test/test.rst) <(tuttest README.md test-wholefile) | ||
diff <(tuttest test/test.rst bash-tutorial) <(tuttest README.md test-named) | ||
diff <(tuttest test/test.rst unnamed2) <(tuttest README.md test-unnamed2) | ||
diff <(tuttest test/test.rst unnamed2 --prefix-lines-with "docker exec -t test bash -c") <(tuttest README.md test-prefix) | ||
diff <(tuttest test/test.rst bash-tutorial,unnamed2 --prefix-lines-with "docker exec -t test bash -c" --single-command) <(tuttest README.md single-command) | ||
diff <(tuttest test/test.rst) <(tuttest README.md:test-wholefile) | ||
diff <(tuttest test/test.rst:bash-tutorial) <(tuttest README.md:test-named) | ||
diff <(tuttest test/test.rst:unnamed2) <(tuttest README.md:test-unnamed2) | ||
diff <(tuttest test/test.rst:unnamed2 --prefix-lines-with "docker exec -t test bash -c") <(tuttest README.md:test-prefix) | ||
diff <(tuttest test/test.rst:bash-tutorial,unnamed2 --prefix-lines-with "docker exec -t test bash -c" --single-command) <(tuttest README.md:single-command) | ||
|
||
diff <(tuttest test/test.md) <(tuttest README.md test-wholefile) | ||
diff <(tuttest test/test.md bash-tutorial) <(tuttest README.md test-named) | ||
diff <(tuttest test/test.md unnamed2) <(tuttest README.md test-unnamed2) | ||
diff <(tuttest test/test.md unnamed2 --prefix-lines-with "docker exec -t test bash -c") <(tuttest README.md test-prefix) | ||
diff <(tuttest test/test.md bash-tutorial,unnamed2 --prefix-lines-with "docker exec -t test bash -c" --single-command) <(tuttest README.md single-command) | ||
diff <(tuttest test/test.md) <(tuttest README.md:test-wholefile) | ||
diff <(tuttest test/test.md:bash-tutorial) <(tuttest README.md:test-named) | ||
diff <(tuttest test/test.md:unnamed2) <(tuttest README.md:test-unnamed2) | ||
diff <(tuttest test/test.md:unnamed2 --prefix-lines-with "docker exec -t test bash -c") <(tuttest README.md:test-prefix) | ||
diff <(tuttest test/test.md:bash-tutorial,unnamed2 --prefix-lines-with "docker exec -t test bash -c" --single-command) <(tuttest README.md:single-command) | ||
|
||
# wildcard testing | ||
diff <(tuttest test/test.md 'unnamed?') <(tuttest test/test.md unnamed0,unnamed2) | ||
diff <(tuttest test/test.rst 'unnamed?') <(tuttest test/test.rst unnamed0,unnamed2) | ||
diff <(tuttest test/test-wildcard.md '[bd]ash*') <(tuttest test/test-wildcard.md bash-tutorial,dash-tutorial-duplicate) | ||
diff <(tuttest test/test-wildcard.rst '[bd]ash*') <(tuttest test/test-wildcard.rst bash-tutorial,dash-tutorial-duplicate) | ||
diff <(tuttest test/test-wildcard.md '[!d]ash*') <(tuttest test/test-wildcard.md bash-tutorial) | ||
diff <(tuttest test/test-wildcard.rst '[!d]ash*') <(tuttest test/test-wildcard.rst bash-tutorial) | ||
diff <(tuttest test/test.md:'unnamed?') <(tuttest test/test.md:unnamed0,unnamed2) | ||
diff <(tuttest test/test.rst:'unnamed?') <(tuttest test/test.rst:unnamed0,unnamed2) | ||
diff <(tuttest test/test-wildcard.md:'[bd]ash*') <(tuttest test/test-wildcard.md:bash-tutorial,dash-tutorial-duplicate) | ||
diff <(tuttest test/test-wildcard.rst:'[bd]ash*') <(tuttest test/test-wildcard.rst:bash-tutorial,dash-tutorial-duplicate) | ||
diff <(tuttest test/test-wildcard.md:'[!d]ash*') <(tuttest test/test-wildcard.md:bash-tutorial) | ||
diff <(tuttest test/test-wildcard.rst:'[!d]ash*') <(tuttest test/test-wildcard.rst:bash-tutorial) | ||
|
||
echo "All tests successfully passed!" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters