summaryrefslogtreecommitdiff
path: root/libs/filesystem/bug
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-04-08 03:09:47 +0000
committer <>2015-05-05 14:37:32 +0000
commitf2541bb90af059680aa7036f315f052175999355 (patch)
treea5b214744b256f07e1dc2bd7273035a7808c659f /libs/filesystem/bug
parented232fdd34968697a68783b3195b1da4226915b5 (diff)
downloadboost-tarball-master.tar.gz
Imported from /home/lorry/working-area/delta_boost-tarball/boost_1_58_0.tar.bz2.HEADboost_1_58_0master
Diffstat (limited to 'libs/filesystem/bug')
-rw-r--r--libs/filesystem/bug/Jamfile.v219
-rw-r--r--libs/filesystem/bug/bug.cpp19
-rw-r--r--libs/filesystem/bug/index.html13
3 files changed, 51 insertions, 0 deletions
diff --git a/libs/filesystem/bug/Jamfile.v2 b/libs/filesystem/bug/Jamfile.v2
new file mode 100644
index 000000000..d8d6c0db9
--- /dev/null
+++ b/libs/filesystem/bug/Jamfile.v2
@@ -0,0 +1,19 @@
+# Boost Filesystem Library Bug report Jamfile
+
+# Copyright Beman Dawes 2014
+# Distributed under the Boost Software License, Version 1.0.
+# See www.boost.org/LICENSE_1_0.txt
+
+# Library home page: http://www.boost.org/libs/filesystem
+
+project
+ : requirements
+ <library>/boost/filesystem//boost_filesystem
+ <library>/boost/system//boost_system
+ <toolset>msvc:<asynch-exceptions>on
+ ;
+
+exe bug : bug.cpp : <link>static ;
+
+# install in ./bin; invoke via "b2", not "b2 install"
+install bin : bug ;
diff --git a/libs/filesystem/bug/bug.cpp b/libs/filesystem/bug/bug.cpp
new file mode 100644
index 000000000..6a1aea91e
--- /dev/null
+++ b/libs/filesystem/bug/bug.cpp
@@ -0,0 +1,19 @@
+// filesystem/bug/bug.cpp
+
+#include <boost/detail/lightweight_test_report.hpp>
+#include <boost/filesystem.hpp>
+
+namespace fs = boost::filesystem;
+
+int test_main(int, char*[]) // note name
+{
+ BOOST_TEST(2 + 2 == 5); // one convertible-to-bool argument
+ BOOST_TEST_EQ(4 + 4, 9); // two EqualityComparible arguments
+ BOOST_TEST(fs::exists(".")); // should pass, so nothing reported
+
+ return ::boost::report_errors(); // required
+}
+
+// Copyright Beman Dawes 2014
+// Distributed under the Boost Software License, Version 1.0.
+// www.boost.org/LICENSE_1_0.txt
diff --git a/libs/filesystem/bug/index.html b/libs/filesystem/bug/index.html
new file mode 100644
index 000000000..985b9c0cc
--- /dev/null
+++ b/libs/filesystem/bug/index.html
@@ -0,0 +1,13 @@
+<html>
+<head>
+<meta http-equiv="refresh" content="0; URL=../doc/issue_reporting.html">
+</head>
+<body>
+Automatic redirection failed, please go to
+<a href="../doc/issue_reporting.html">../doc/issue_reporting.html</a>.
+<hr>
+<p>&copy; Copyright Beman Dawes, 2014</p>
+<p> Distributed under the Boost Software License, Version 1.0.
+See http://www.boost.org/LICENSE_1_0.txt</p>
+</body>
+</html>