summaryrefslogtreecommitdiffstats
path: root/source/tests/crack.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/tests/crack.c')
-rw-r--r--source/tests/crack.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/tests/crack.c b/source/tests/crack.c
new file mode 100644
index 00000000000..36119b3bbc6
--- /dev/null
+++ b/source/tests/crack.c
@@ -0,0 +1,12 @@
+#include <crack.h>
+
+#ifndef HAVE_CRACKLIB_DICTPATH
+#ifndef CRACKLIB_DICTPATH
+#define CRACKLIB_DICTPATH SAMBA_CRACKLIB_DICTPATH
+#endif
+#endif
+
+int main(int argc, char **argv) {
+ FascistCheck("Foo", CRACKLIB_DICTPATH);
+ return 0;
+}