Index: trunk/psLib/test/astro/tap_psEarthOrientation_motion.c
===================================================================
--- trunk/psLib/test/astro/tap_psEarthOrientation_motion.c	(revision 12187)
+++ trunk/psLib/test/astro/tap_psEarthOrientation_motion.c	(revision 12193)
@@ -89,17 +89,20 @@
     }
     //Return NULL for failed eoc init - missing file
-    //    printf("\n filename = '%s' \n", p_psGetConfigFileName());
+    //printf("\n filename = '%s' \n", p_psGetConfigFileName());
+    //XXX: Use the PS_CONFIG_FILE_DEFAULT macro, or PS_CONFIG_FILE environment variable
+    //to define where the real pslib config is.
     {
         testTime->sec = 1049160600;
         testTime->nsec = 0;
         testTime->leapsecond = false;
-        skip_start(rename("../../etc/pslib.config", "../../etc/pslib_config.bak"),
+        skip_start(rename("../../etc/pslib/pslib.config", "../../etc/pslib/pslib_config.bak"),
                    1, "Skipping 1 tests because file rename failed!");
         ep = psEOC_PrecessionModel(testTime);
         ok( ep == NULL,
             "psEOC_PrecessionModel:          return NULL for failed eoc init.");
-        rename("../../etc/pslib_config.bak", "../../etc/pslib.config");
-        skip_end();
-    }
+        rename("../../etc/pslib/pslib_config.bak", "../../etc/pslib/pslib.config");
+        skip_end();
+    }
+
     //Return valid EarthPole for valid time input
     {
@@ -174,12 +177,14 @@
     }
     //Return NULL for failed eoc init - missing file
+    //XXX: Use the PS_CONFIG_FILE_DEFAULT macro, or PS_CONFIG_FILE environment variable
+    //to define where the real pslib config is.
     {
         p_psEOCFinalize();
-        skip_start(rename("../../etc/pslib.config", "../../etc/pslib_config.bak"),
+        skip_start(rename("../../etc/pslib/pslib.config", "../../etc/pslib/pslib_config.bak"),
                    1, "Skipping 1 tests because file rename failed!");
         polarMotion = psEOC_GetPolarMotion(in, PS_IERS_B);
         ok( polarMotion == NULL,
             "psEOC_GetPolarMotion:          return NULL for failed eoc init.");
-        rename("../../etc/pslib_config.bak", "../../etc/pslib.config");
+        rename("../../etc/pslib/pslib_config.bak", "../../etc/pslib/pslib.config");
         skip_end();
     }
