diff options
author | Rob Savoye <rob@welcomehome.org> | 2010-11-28 13:53:57 -0700 |
---|---|---|
committer | Rob Savoye <rob@welcomehome.org> | 2010-11-28 13:53:57 -0700 |
commit | c5acc6ed14484d010453209895b2bd8ee63a634d (patch) | |
tree | 2bae2eb0068e7c01c6521874440d8774d861bd13 | |
parent | b68acf9988c51bc8afb91ab80569aad89b70d4dc (diff) |
minor tweak to the test output strings
-rw-r--r-- | gr-run-waveform/test_xyzzy.cc | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/gr-run-waveform/test_xyzzy.cc b/gr-run-waveform/test_xyzzy.cc index 4a3756d413..79b0136413 100644 --- a/gr-run-waveform/test_xyzzy.cc +++ b/gr-run-waveform/test_xyzzy.cc @@ -122,30 +122,24 @@ main(int argc, char *argv[]) // Does a file with name 'filename' exist in magic filesystem? if (xyzzy_file_exists("srfi/srfi-35.scm")) { - cout << "FAILED: xyzzy_file_exists()" << endl; + cout << "FAILED: xyzzy_file_exists(shouldn't exist)" << endl; } else { - cout << "PASSED: xyzzy_file_exists()" << endl; + cout << "PASSED: xyzzy_file_exists(shouldn't exist)" << endl; } // Does a file with name 'filename' exist in magic filesystem? if (xyzzy_file_exists("/-xyzzy-/srfi/srfi-35.scm")) { - cout << "PASSED: xyzzy_file_exists()" << endl; + cout << "PASSED: xyzzy_file_exists(should exist)" << endl; } else { - cout << "FAILED: xyzzy_file_exists()" << endl; + cout << "FAILED: xyzzy_file_exists(should exist)" << endl; } -// xyzzy_file_exists("abcd.scm") -> always false -// xyzzy_file_exists("/-xyzzy-/abcd.scm") -> depends on whether "abcd.scm" is in - - // Return a C port that will read the file contents -#if 0 - if (xyzzy_make_read_only_port("gnuradio")) { - cout << "PASSED: xyzzy_make_read_only_port()" << endl; + // Does a file with name 'filename' exist in magic filesystem? + if (xyzzy_file_exists("/-xyzzy-/srfi/srfi-99.scm")) { + cout << "FAILED: xyzzy_file_exists(shouldn't exist)" << endl; } else { - cout << "FAILED: xyzzy_make_read_only_port()" << endl; + cout << "PASSED: xyzzy_file_exists(shouldn't exist)" << endl; } - -#endif scm_boot_guile (argc, argv, inner_main, 0); } |