Remove stray exit() in the regress test.
[oweals/opkg-lede.git] / tests / libopkg_test.c
index 4d82a6721ae4898c6fb543eac9362251753dddd5..31a22b0b51df2d7a16617be4d2b5a164e7ccbdf4 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <opkg.h>
 
+int opkg_state_changed;
 pkg_t *find_pkg = NULL;
 
 
@@ -151,7 +152,7 @@ main (int argc, char **argv)
   }
 
   setenv("OFFLINE_ROOT", "/tmp", 0);
+
   if (opkg_new ()) {
          printf("opkg_new() failed. This sucks.\n");
          print_error_list();
@@ -223,7 +224,7 @@ main (int argc, char **argv)
         }
       }
       break;
-          
+
     case 'r':
       if (argv[1][1] == 'e')
       {