mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
7b6d1a2a5d
Signed-off-by: Adrian Cochrane <adrianc@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Oct 9 23:15:06 CEST 2015 on sn-devel-104
15 lines
379 B
Bash
Executable File
15 lines
379 B
Bash
Executable File
#!/bin/sh
|
|
# This test ensures that two different talloc processes do not use the same
|
|
# magic value to lessen the opportunity for transferrable attacks.
|
|
|
|
echo "test: magic differs"
|
|
|
|
if [
|
|
"`./talloc_test_magic_differs_helper`" != "`./talloc_test_magic_differs_helper`"
|
|
]; then
|
|
echo "failure: magic remained the same between executions"
|
|
exit 1
|
|
fi
|
|
|
|
echo "success: magic differs"
|