From 100f358b1d41eb898c98c80c9c90a68ec8bb4e7c Mon Sep 17 00:00:00 2001 From: Josh Poimboeuf Date: Mon, 5 May 2014 16:41:56 -0500 Subject: [PATCH] test: fix custom test error condition check --- test/integration/kpatch-test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/kpatch-test b/test/integration/kpatch-test index 73c7eda..0d5ce07 100755 --- a/test/integration/kpatch-test +++ b/test/integration/kpatch-test @@ -170,7 +170,7 @@ run_custom_test() { echo "custom test: $prefix" - if ./$testprog >> $LOG 2>&1; then + if ! ./$testprog >> $LOG 2>&1; then error "$prefix: test failed" fi }