summaryrefslogtreecommitdiff
path: root/test/038-inner-null
diff options
context:
space:
mode:
Diffstat (limited to 'test/038-inner-null')
-rw-r--r--test/038-inner-null/expected-stdout.txt1
-rw-r--r--[-rwxr-xr-x]test/038-inner-null/run.py (renamed from test/038-inner-null/run)6
2 files changed, 3 insertions, 4 deletions
diff --git a/test/038-inner-null/expected-stdout.txt b/test/038-inner-null/expected-stdout.txt
index 3d87b3ff95..24836c2ec1 100644
--- a/test/038-inner-null/expected-stdout.txt
+++ b/test/038-inner-null/expected-stdout.txt
@@ -1,2 +1 @@
new Special()
-exit status: 1
diff --git a/test/038-inner-null/run b/test/038-inner-null/run.py
index 7a0d0d05ab..80a8a336fb 100755..100644
--- a/test/038-inner-null/run
+++ b/test/038-inner-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)