-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[script parsing] allows the OP_ prefix
- Loading branch information
Showing
4 changed files
with
145 additions
and
94 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
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,42 @@ | ||
#!/bin/bash | ||
|
||
testname=sx-tuto-rawscript-stdin-OP.t | ||
command=hx | ||
args=( rawscript op_dup OP_HASH160 \[ - \] equalverify OP_CHECKSIG ) | ||
exit_code=0 | ||
stdin_file=stdin | ||
stdout_file=stdout | ||
stderr_file=/dev/null | ||
sources=( ) | ||
products=( ) | ||
|
||
# Environment variables: | ||
env_vars=( ) | ||
|
||
setup(){ | ||
: Perform here actions to be run before the tested program | ||
} | ||
|
||
munge(){ | ||
: Munge here the results of the tested program to ease the check | ||
} | ||
|
||
check(){ | ||
check_exit_code && | ||
check_stderr && | ||
check_stdout && | ||
check_products && | ||
: Perform here extra checks on the tested program | ||
} | ||
|
||
explain(){ | ||
explain_exit_code | ||
explain_stdout | ||
explain_stderr | ||
explain_products | ||
: Explain here more potential differences | ||
} | ||
|
||
teardown(){ | ||
: Undo here the actions of setup | ||
} |
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 @@ | ||
e60921dbfe1e066113f1c6e0ea15517234187d47 |
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 @@ | ||
76a914e60921dbfe1e066113f1c6e0ea15517234187d4788ac |