git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4726541
)
testprogs: Return correct status code
author
Joseph Sutton
<josephsutton@catalyst.net.nz>
Tue, 11 Apr 2023 02:38:30 +0000
(14:38 +1200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Wed, 12 Apr 2023 13:52:32 +0000
(13:52 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
testprogs/blackbox/subunit.sh
patch
|
blob
|
history
diff --git
a/testprogs/blackbox/subunit.sh
b/testprogs/blackbox/subunit.sh
index b6b90fcabfe376adae8370680096385041d95aee..1ef32f6c490cbbc533ceabdeaeb0998ee65e7313 100755
(executable)
--- a/
testprogs/blackbox/subunit.sh
+++ b/
testprogs/blackbox/subunit.sh
@@
-118,7
+118,7
@@
testit_grep()
else
printf 'GREP: "%s" not found in output:\n%s' "$grep" "$output" | subunit_fail_test "$name"
fi
else
printf 'GREP: "%s" not found in output:\n%s' "$grep" "$output" | subunit_fail_test "$name"
fi
- return $status
+ return $
g
status
}
# This returns 0 if the command gave success and the grep value was found
}
# This returns 0 if the command gave success and the grep value was found