Browse Source

Exceptions

Bob Mottram 8 years ago
parent
commit
22a7378852
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tests/check-gids.sh

+ 1
- 1
tests/check-gids.sh View File

1
 #!/bin/bash
1
 #!/bin/bash
2
 
2
 
3
-if [ $(pwck -r | grep "no group" | wc -l) -ne 0 ];then
3
+if [ $(pwck -r | sed '/nonexist/d' | sed '/\/home\//d' | sed '/\/run\//d' | sed '/no changes/d' | grep "no group" | wc -l) -ne 0 ];then
4
         exit 1
4
         exit 1
5
 fi
5
 fi