git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1375e08
)
s3:script: Fix jobid check in test_smbspool.sh
author
Andreas Schneider
<asn@samba.org>
Tue, 12 Mar 2019 09:15:05 +0000
(10:15 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Mon, 18 Mar 2019 15:30:13 +0000
(15:30 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13832
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bryan Mason <bmason@redhat.com>
Signed-off-by: Guenther Deschner <gd@samba.org>
source3/script/tests/test_smbspool.sh
patch
|
blob
|
history
diff --git
a/source3/script/tests/test_smbspool.sh
b/source3/script/tests/test_smbspool.sh
index d95ed06463415a0ec519bb2c5fc230f3cd2e29a1..f28c0909334825111bbf2a1d702ca9a5edb544d4 100755
(executable)
--- a/
source3/script/tests/test_smbspool.sh
+++ b/
source3/script/tests/test_smbspool.sh
@@
-99,8
+99,8
@@
test_vlp_verify()
fi
jobid=$(echo "$out" | awk '/[0-9]+/ { print $1 };')
- if [
$jobid -lt 1000 ||
$jobid -gt 2000 ]; then
- echo "
failed to get
jobid"
+ if [
-z "$jobid" ] || [ $jobid -lt 100 || [
$jobid -gt 2000 ]; then
+ echo "
Invalid jobid: $
jobid"
echo "$out"
return 1
fi