diff --git a/src/test/regress/input/create_function_1.source b/src/test/regress/input/create_function_1.source
index ed90e5462680273b82f31413580c30f0c43d8af1..41e76604b0cab9a45ff00ff26fbe1fa839514c27 100644
--- a/src/test/regress/input/create_function_1.source
+++ b/src/test/regress/input/create_function_1.source
@@ -5,11 +5,11 @@
 
 CREATE FUNCTION widget_in(opaque)
    RETURNS widget
-   AS '_CWD_/regress_DLSUFFIX_'
+   AS '_CWD_/../regress_DLSUFFIX_'
    LANGUAGE 'c';
 
 CREATE FUNCTION widget_out(opaque)
    RETURNS opaque
-   AS '_CWD_/regress_DLSUFFIX_'
+   AS '_CWD_/../regress_DLSUFFIX_'
    LANGUAGE 'c';