summaryrefslogtreecommitdiff
path: root/source3/tests
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-09-05 13:21:57 +0000
committerAndrew Tridgell <tridge@samba.org>1998-09-05 13:21:57 +0000
commit0cb85e04a974daf4442a7561931ff1be566a8410 (patch)
treea24dcd47d6f5f2f3dd4c6971543cddee2ca01720 /source3/tests
parent012e575e1336fbba70174d32c26ecab9ce5523ce (diff)
downloadsamba-0cb85e04a974daf4442a7561931ff1be566a8410.tar.gz
samba-0cb85e04a974daf4442a7561931ff1be566a8410.tar.bz2
samba-0cb85e04a974daf4442a7561931ff1be566a8410.zip
some people are foolishly running ./configure from other than the
source directory! This adds a new "trivial" test that makes sure that the autoconf tests are working. It aborts the configure run if not. (This used to be commit ead0338ad27f29f1abbbe9f6302d6bf633bf98b2)
Diffstat (limited to 'source3/tests')
-rw-r--r--source3/tests/trivial.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/tests/trivial.c b/source3/tests/trivial.c
new file mode 100644
index 0000000000..2723637a0f
--- /dev/null
+++ b/source3/tests/trivial.c
@@ -0,0 +1,4 @@
+main()
+{
+ exit(0);
+}