Revision b8669a69 test/py/daemon-util_unittest.bash

b/test/py/daemon-util_unittest.bash
28 28
  exit 1
29 29
}
30 30

  
31
if ! grep -q '^ENABLE_CONFD = ' lib/_autoconf.py; then
31
if ! grep -q '^ENABLE_CONFD = ' lib/_constants.py; then
32 32
  err "Please update $0, confd enable feature is missing"
33 33
fi
34 34

  
35
if ! grep -q '^ENABLE_MOND = ' lib/_autoconf.py; then
35
if ! grep -q '^ENABLE_MOND = ' lib/_constants.py; then
36 36
  err "Please update $0, mond enable feature is missing"
37 37
fi
38 38

  
39 39
DAEMONS_LIST="noded masterd rapi"
40 40
STOPDAEMONS_LIST="rapi masterd noded"
41 41

  
42
if grep -q '^ENABLE_CONFD = True' lib/_autoconf.py; then
42
if grep -q '^ENABLE_CONFD = True' lib/_constants.py; then
43 43
  DAEMONS_LIST="$DAEMONS_LIST confd luxid"
44 44
  STOPDAEMONS_LIST="luxid confd $STOPDAEMONS_LIST"
45 45
fi
46 46

  
47
if grep -q '^ENABLE_MOND = True' lib/_autoconf.py; then
47
if grep -q '^ENABLE_MOND = True' lib/_constants.py; then
48 48
  DAEMONS_LIST="$DAEMONS_LIST mond"
49 49
  STOPDAEMONS_LIST="mond $STOPDAEMONS_LIST"
50 50
fi

Also available in: Unified diff