]> granicus.if.org Git - zfs/commit
Fix test script error codes
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 24 Jan 2013 21:49:17 +0000 (13:49 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 24 Jan 2013 21:53:12 +0000 (13:53 -0800)
commit563103decdca7c06850ca0909e5c8f8b4b0c0fe5
tree9510b530a86d8e8a6e1658c89b001ee8c32ffd80
parentbf01b5e6161b4aa94c69792e50de4102a033be09
Fix test script error codes

The 'exit $?' command in the INT TERM EXIT trap was overwritting
the expected error code with the error code from mv.  Fix the
issue by removing the 'exit $?'.  It's important the we preserve
the original error code so failures are easily noticed.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
scripts/common.sh.in