diff mbox

[ndctl] ndctl, test: fix daxdax-errors.sh skip condition

Message ID 150491857945.2236.14367331919652638639.stgit@dwillia2-desk3.amr.corp.intel.com (mailing list archive)
State Accepted
Commit 91f6e4bdff5c
Headers show

Commit Message

Dan Williams Sept. 9, 2017, 12:56 a.m. UTC
Return the skip code '77' if the test dependencies cannot be satisfied.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
---
 test/daxdev-errors.sh |    1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

diff --git a/test/daxdev-errors.sh b/test/daxdev-errors.sh
index 4818a4a1efcf..8115087a085f 100755
--- a/test/daxdev-errors.sh
+++ b/test/daxdev-errors.sh
@@ -20,7 +20,6 @@  json2var="s/[{}\",]//g; s/:/=/g"
 rc=77
 
 err() {
-	rc=1
 	echo "test/daxdev-errors: failed at line $1"
 	exit $rc
 }