aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/autotests/test2/test2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/blackbox/testdata/autotests/test2/test2.cpp')
-rw-r--r--tests/auto/blackbox/testdata/autotests/test2/test2.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/autotests/test2/test2.cpp b/tests/auto/blackbox/testdata/autotests/test2/test2.cpp
new file mode 100644
index 000000000..dcc3d270a
--- /dev/null
+++ b/tests/auto/blackbox/testdata/autotests/test2/test2.cpp
@@ -0,0 +1,13 @@
+#include <cstdlib>
+#include <fstream>
+#include <iostream>
+
+int main()
+{
+ std::ifstream input("test2-resource.txt");
+ if (!input.is_open()) {
+ std::cerr << "Test resource not found";
+ return EXIT_FAILURE;
+ }
+ std::cout << "PASS" << std::endl;
+}