citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 548b61618467d9f7c001431386bc79abba98eba1
parent eb4a4d599879bc3dde9c14c23ef622feb4ab9bb0
Author: Kyle Milz <kyle@0x30.net>
Date:   Fri, 12 Aug 2016 14:30:43 -0600

t: add new wrap test for exit code

Diffstat:
At/wrap_exitcode.t | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/t/wrap_exitcode.t b/t/wrap_exitcode.t @@ -0,0 +1,9 @@ +#!/bin/sh +# +# Make sure that citrun-wrap exits with the same code as the native build. +# +echo 1..1 + +src/citrun-wrap ls asdfasdfsaf 2> /dev/null + +[ $? -eq 1 ] && echo ok 1 - return code