Imported Upstream version 3.10.2+dfsg
This commit is contained in:
19
pre-push.sh
Executable file
19
pre-push.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
#
|
||||
# Our "pre-push" hook.
|
||||
|
||||
RESULT=0
|
||||
|
||||
if [ -d ./fips ];
|
||||
then
|
||||
echo "\n\nTesting with FIPS release code...\n\n"
|
||||
./fips-check.sh
|
||||
RESULT=$?
|
||||
[ $RESULT -ne 0 ] && echo -e "\n\nFIPS build test failed" && exit 1
|
||||
fi
|
||||
|
||||
[ $RESULT -ne 0 ] && echo "\nOops, your push failed\n" && exit 1
|
||||
|
||||
echo "\nPush tests passed!\n"
|
||||
exit 0
|
||||
Reference in New Issue
Block a user