summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-06-27 00:25:53 +0200
committerBjoern Jacke <bj@sernet.de>2012-06-27 02:18:07 +0200
commitefa73ba52aa8d7e2dada74c422d22508c3b5703e (patch)
treea066809839bf9d2b27f1d6f33c220d43b0305506 /source3/script
parent94afad20b5177ef18a337a853fd033edd3b8b862 (diff)
downloadsamba-efa73ba52aa8d7e2dada74c422d22508c3b5703e.tar.gz
samba-efa73ba52aa8d7e2dada74c422d22508c3b5703e.tar.bz2
samba-efa73ba52aa8d7e2dada74c422d22508c3b5703e.zip
s3:test_net_registry_check.sh: grep -E isn't portable, use egrep
grep -E doesn't work on Solaris /usr/bin/grep e.g. Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Wed Jun 27 02:18:07 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/script')
-rwxr-xr-xsource3/script/tests/test_net_registry_check.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/script/tests/test_net_registry_check.sh b/source3/script/tests/test_net_registry_check.sh
index ca8da76ffc..4b2c542034 100755
--- a/source3/script/tests/test_net_registry_check.sh
+++ b/source3/script/tests/test_net_registry_check.sh
@@ -30,7 +30,7 @@ failed=0
regcheck()
{
ALLOWEDERR="Check database:|INFO: version ="
- ERRSTR=$(${NETREG} check $REG $@ 2>&1 | grep -E -v "$ALLOWEDERR")
+ ERRSTR=$(${NETREG} check $REG $@ 2>&1 | egrep -v "$ALLOWEDERR")
}
# try to repair registry