Matthew Treinish | 3d46811 | 2013-10-24 21:49:14 +0000 | [diff] [blame] | 1 | #!/bin/sh |
2 | TEMPDIR=`mktemp -d` | ||||
3 | CFGFILE=tempest.conf.sample | ||||
4 | tools/config/generate_sample.sh -b ./ -p tempest -o $TEMPDIR | ||||
5 | if ! diff $TEMPDIR/$CFGFILE etc/$CFGFILE | ||||
6 | then | ||||
7 | echo "E: tempest.conf.sample is not up to date, please run:" | ||||
8 | echo "MODULEPATH=tempest.common.generate_sample_tempest tools/config/generate_sample.sh" | ||||
9 | exit 42 | ||||
10 | fi |