]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - SHUTTLE/schema_prod/verify.sh
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / SHUTTLE / schema_prod / verify.sh
index 4d3a96813506aefec5f5d0c2468c063fbeb0f58c..1b7e6a1d78bb3091e1ebb604f24b84e15b5028a6 100755 (executable)
@@ -26,7 +26,9 @@ case "$1" in
     *         ) SEARCH="det=$1"; FILE="$1.ldif";;
 esac
 
-ldapsearch -H ldap://pcalishuttle01.cern.ch  -x -b "$SEARCH,o=shuttle_prod,dc=cern,dc=ch" -L -L -L > verify.out
+ldapsearch -H ldap://pcalishuttle02.cern.ch  -x -b "$SEARCH,o=shuttle_prod,dc=cern,dc=ch" -L -L -L > verify.out
+cat verify.out | ./unfoldlines.pl > verify1.out
 
-diff --ignore-space-change --ignore-blank-lines verify.out $FILE | grep -v "> #"
+diff --ignore-space-change --ignore-blank-lines verify1.out $FILE | grep -v "> #" | grep -v '^0[a-z]'
 
+rm verify.out verify1.out