71819c0a60
- Correct directory name in test/README.md - Move code-smell tests to test/sanity/code-smell - Update code-smell.sh to use new script paths - Add test/integration/target-prefixes.win for ansible-test - Move module unit tests to match module directory layout
10 lines
157 B
Bash
Executable file
10 lines
157 B
Bash
Executable file
#!/bin/sh
|
|
|
|
BASEDIR=${1-"lib/ansible"}
|
|
cd "$BASEDIR"
|
|
grep -r FieldAttribute . |grep 'default' | grep 'required'
|
|
if test $? -eq 0 ; then
|
|
exit 1
|
|
fi
|
|
exit 0
|
|
|