forked from tsoding/rere.py
-
Notifications
You must be signed in to change notification settings - Fork 0
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
55 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
./rere.py replay test.list | ||
./rere.py replay skip-fail.list | ||
./rere.py replay meta.list |
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
:i count 3 | ||
:b shell 26 | ||
./rere.py replay test.list | ||
:i returncode 0 | ||
:b stdout 124 | ||
REPLAYING: echo 'Hello, World' | ||
REPLAYING: echo 'Foo, bar' | ||
REPLAYING: echo 'Ur, mom' | ||
REPORT: 0 Skipped: | ||
REPORT: 0 failed: | ||
OK | ||
|
||
:b stderr 0 | ||
|
||
:b shell 31 | ||
./rere.py replay skip-fail.list | ||
:i returncode 1 | ||
:b stdout 448 | ||
REPLAYING: echo 'Hello, World' | ||
UNEXPECTED: stdout | ||
--- expected | ||
+++ actual | ||
@@ -1 +1 @@ | ||
-Hello, world | ||
+Hello, World | ||
REPLAYING: echo 'Foo, bar, baz' | ||
NOT FOUND: shell command | ||
COMMAND: echo 'Foo, bar, baz' | ||
NOTE: You may want to do `./rere.py record skip-fail.list` to update skip-fail.list.bi | ||
NOTE: Skiping this shell | ||
REPLAYING: echo 'Ur, mom' | ||
REPORT: 1 Skipped: | ||
SKIPPED: echo 'Foo, bar, baz' | ||
REPORT: 1 failed: | ||
FAILED: echo 'Hello, World' | ||
|
||
:b stderr 0 | ||
|
||
:b shell 26 | ||
./rere.py replay meta.list | ||
:i returncode 0 | ||
:b stdout 160 | ||
REPLAYING: ./rere.py replay test.list | ||
REPLAYING: ./rere.py replay skip-fail.list | ||
REPLAYING: ./rere.py replay meta.list | ||
REPORT: 0 Skipped: | ||
REPORT: 0 failed: | ||
OK | ||
|
||
|
||
:b stderr 0 | ||
|