[monkey-bubble: 426/753] Added small gnome-exec test.



commit 993f640ca44d0353455ac9916f6fa8787fa4c54a
Author: Martin Baulig <martin src gnome org>
Date:   Sun Jun 10 20:09:01 2001 +0000

    Added small gnome-exec test.

 libgnome/test-libgnome.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/libgnome/test-libgnome.c b/libgnome/test-libgnome.c
index 4f3bbc1..007994a 100644
--- a/libgnome/test-libgnome.c
+++ b/libgnome/test-libgnome.c
@@ -140,6 +140,12 @@ test_bonobo (GnomeProgram *program)
 }
 
 static void
+test_exec (void)
+{
+    gnome_execute_terminal_shell ("/gnome/head/INSTALL", "lynx http://www.gnu.org/";);
+}
+
+static void
 test_url (void)
 {
     gnome_url_show ("http://www.gnu.org/";);
@@ -197,6 +203,8 @@ main (int argc, char **argv)
 
     test_bonobo (program);
 
+    test_exec ();
+
     test_url ();
 
     return 0;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]