summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlinaro-android-kernel-tests.sh4
-rw-r--r--sync-basic/sync-basic.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/linaro-android-kernel-tests.sh b/linaro-android-kernel-tests.sh
index 7345c03..352c7fc 100755
--- a/linaro-android-kernel-tests.sh
+++ b/linaro-android-kernel-tests.sh
@@ -32,10 +32,10 @@ run_ashmemtest_expanded()
diff $DIR/tmp.out $DIR/$TESTNAME.out > /dev/null
if [ $? -eq 0 ]; then
cat $DIR/tmp.out
- echo "[$TESTNAME]: test passed"
+ echo "[ashmem_expanded_$TESTNAME]: test passed"
else
cat $DIR/tmp.out
- echo "[$TESTNAME]: test failed"
+ echo "[ashmem_expanded_$TESTNAME]: test failed"
fi
rm $DIR/tmp.out
done
diff --git a/sync-basic/sync-basic.c b/sync-basic/sync-basic.c
index 723f122..7aa2e82 100644
--- a/sync-basic/sync-basic.c
+++ b/sync-basic/sync-basic.c
@@ -56,7 +56,7 @@ void fatal (int error, const char *fmt, ...)
va_end (ap);
fprintf (stderr, "\n");
/* printf(RED); */
- printf ("%d [%s]: test failed\n", testno, testname);
+ printf ("%d [sync_basic_%s]: test failed\n", testno, testname);
/* printf(NORMAL); */
exit (1);
}
@@ -75,7 +75,7 @@ void pass (const char *fmt, ...)
}
fprintf (stderr, "\n");
/* printf(GREEN); */
- printf ("%d [%s]: test passed\n", testno, testname);
+ printf ("%d [sync_basic_%s]: test passed\n", testno, testname);
/* printf(NORMAL); */
}
@@ -328,7 +328,7 @@ int main (int argc, char *argv[])
{
/* 0 - just try to open */
testno++;
- strcpy (testname, "try-open");
+ strcpy (testname, "try_open");
sw_fd = open (SW_SYNC_DEV, O_RDWR);
if (sw_fd < 0)
fatal (errno, "can't open '%s'", SW_SYNC_DEV);