]> rtime.felk.cvut.cz Git - wvtest.git/blobdiff - sh/t/twvtest.sh
sh: add new WVPASSRC and WVFAILRC commands.
[wvtest.git] / sh / t / twvtest.sh
index fbc709fe99bf4f0f88bcc299d8c9a903aa521b5b..875dd5373ce621f45e85d96db2153c657e6ab0be 100755 (executable)
@@ -9,6 +9,8 @@ WVFAIL false
 WVPASSEQ "$(ls | sort)" "$(ls)"
 WVPASSNE "5" "5 "
 WVPASSEQ "" ""
+(echo nested test; true); WVPASSRC $?
+(echo nested fail; false); WVFAILRC $?
 
 WVSTART another test
 WVPASS true