Commit for release to 1.5.29.
[asdcplib.git] / src / jp2k-crypt-tst.sh
index ec40bf21e92fa5a1a4a996daab9309ca0f36aca0..bb4929c66bbdb9aa9e954b7a012975667c597c15 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 #
 # $Id$
-# Copyright (c) 2007-2008 John Hurst. All rights reserved.
+# Copyright (c) 2007-2009 John Hurst. All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions
@@ -49,9 +49,9 @@ ${BUILD_DIR}/asdcp-test${EXEEXT} -m -k ${CRYPT_KEY} \
 if [ $? -ne 0 ]; then
     exit 1
 fi
-for file in `ls ../test/${TEST_FILE_PREFIX}`; do \
+for file in `ls ${TEST_FILES}/${TEST_FILE_PREFIX}`; do \
   echo "$file"; \
-  cmp ../test/${TEST_FILE_PREFIX}/$file ../test/plaintext/$file; \
+  cmp ${TEST_FILES}/${TEST_FILE_PREFIX}/$file ${TEST_FILES}/plaintext/$file; \
   if [ $? -ne 0 ]; then \
     exit 1; \
   fi; \