Code

test-lib.sh: Add new function, test_expect_code
authorFredrik Kuivinen <freku045@student.liu.se>
Sat, 3 Dec 2005 10:40:39 +0000 (11:40 +0100)
committerJunio C Hamano <junkio@cox.net>
Sat, 3 Dec 2005 20:28:57 +0000 (12:28 -0800)
commitd3bfdb755e06c04492ad3977e7df3d780b6e02f2
tree701653a13bbef1a833a8b6efba0b4edbcde6a214
parent4275df517022604f5c33ba05ae45a885b84e3472
test-lib.sh: Add new function, test_expect_code

The test is considered OK if it exits with code $1

Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/test-lib.sh