summaryrefslogtreecommitdiff
path: root/test/034-call-null
diff options
context:
space:
mode:
Diffstat (limited to 'test/034-call-null')
-rw-r--r--test/034-call-null/expected-stdout.txt1
-rw-r--r--[-rwxr-xr-x]test/034-call-null/run.py (renamed from test/034-call-null/run)6
2 files changed, 3 insertions, 4 deletions
diff --git a/test/034-call-null/expected-stdout.txt b/test/034-call-null/expected-stdout.txt
index a9bf5a0e14..e69de29bb2 100644
--- a/test/034-call-null/expected-stdout.txt
+++ b/test/034-call-null/expected-stdout.txt
@@ -1 +0,0 @@
-exit status: 1
diff --git a/test/034-call-null/run b/test/034-call-null/run.py
index 7a0d0d05ab..80a8a336fb 100755..100644
--- a/test/034-call-null/run
+++ b/test/034-call-null/run.py
@@ -14,6 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# Squash the exit status and put it in expected
-./default-run "$@"
-echo "exit status:" $?
+
+def run(ctx, args):
+ ctx.default_run(args, expected_exit_code=1)