]> git.draconx.ca Git - cdecl99.git/blobdiff - tests/randomdecl-sanity.sh
Add missing test script to the distribution.
[cdecl99.git] / tests / randomdecl-sanity.sh
index 52b5534b37707175e018f754087a005751f8dbc9..fad6d5a90fc0ff58e790c4ab8d5d4205e07800cb 100755 (executable)
@@ -13,7 +13,8 @@ randomdecl=test/randomdecl$EXEEXT
 test -x $randomdecl || exit 77
 
 proc() {
-       sed -f tests/randomdecl-sanity.sed || { echo "result=fail"; return 1; }
+       sed -f "$srcdir/tests/randomdecl-sanity.sed" \
+               || { echo "result=fail"; return 1; }
 }
 
 printf '%s: randomized test using RANDOMSEED=%d\n' "$0" "$RANDOMSEED"