summaryrefslogtreecommitdiffstats
path: root/meta-tpm/recipes-tpm/tss-testsuite/files/fix-hardcode-path-in-tsstests.sh.patch
blob: a9e668053dd1483197a3c64b3b0ad7bcfa77ba2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/tsstests.sh b/tsstests.sh
index 6a1a5e5..ebaf6c3 100755
--- a/tsstests.sh
+++ b/tsstests.sh
@@ -54,9 +54,9 @@ TEST_OUTPUT=
 OUTPUT_FORMAT="standard"
 
 # this variable needs to be changed to testcases/tcg/ for ltp compatibility
-TESTCASEDIR=testsuite/tcg/
+TESTCASEDIR=tcg/
 
-cd ..
+cd `dirname $0`
 
 export LTPTSSROOT=$PWD