/*
* YAFFS: Yet another FFS. A NAND-flash specific file system.
*
- * Copyright (C) 2002-2011 Aleph One Ltd.
- * for Toby Churchill Ltd and Brightstar Engineering
+ * Copyright (C) 2002-2018 Aleph One Ltd.
*
* Created by Timothy Manning <timothy@yaffs.net>
*
int output =0;
unsigned int total_number_of_tests_run=0;
yaffs_start_up();
- yaffs_mount("yaffs2");
+ yaffs_mount(YAFFS_MOUNT_POINT);
printf("running tests\n");
output=yaffs_lseek(handle,20,SEEK_SET);
if (output >= 0) {
output = yaffs_lseek(handle,0,SEEK_CUR);
- if (output = 20){
+ if (output == 20){
printf("dup is working\n");
return 1;
} else if (output <0){