mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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
|
|
|