diff --git a/testsuites/fstests/fsrdwr/init.c b/testsuites/fstests/fsrdwr/init.c index 18acac73a3..bdd0a4a590 100644 --- a/testsuites/fstests/fsrdwr/init.c +++ b/testsuites/fstests/fsrdwr/init.c @@ -373,7 +373,7 @@ lseek_test (void) rtems_test_assert (pos == total_written); /* - * ftruncate shall not change the posistion + * ftruncate shall not change the position */ status = ftruncate (fd, total_written + 1); rtems_test_assert (status == 0); @@ -447,7 +447,7 @@ lseek_test (void) rtems_test_assert (status == 0); /* - * Open the file withe O_RDWR and check the lseek + * Open the file with O_RDWR and check the lseek */ fd = open (name01, O_RDWR); diff --git a/testsuites/fstests/fsrename/test.c b/testsuites/fstests/fsrename/test.c index 086b8f84e7..221aa70862 100644 --- a/testsuites/fstests/fsrename/test.c +++ b/testsuites/fstests/fsrename/test.c @@ -214,11 +214,11 @@ static void arg_test (void) rtems_test_assert (status == 0); /* - * The new argument points to a non existant file and + * The new argument points to a nonexistent file and * the old argument points to a file. */ - puts ("\nRename file with non existant file\n"); + puts ("\nRename file with nonexistent file\n"); fd = creat (name01, mode); rtems_test_assert (fd >= 0); @@ -235,12 +235,12 @@ static void arg_test (void) EXPECT_EQUAL (0, unlink, name02); /* - * The new argument points to a non existant file and + * The new argument points to a nonexistent file and * the old argument points to a file where a component of the * filepath does not exist. */ - puts ("\nRename file with non existant filepath\n"); + puts ("\nRename file with nonexistent filepath\n"); status = mkdir (dir01, mode); rtems_test_assert (status == 0); @@ -257,11 +257,11 @@ static void arg_test (void) EXPECT_EQUAL (0, rmdir, dir01); /* - * The new argument points to a non existant directory and + * The new argument points to a nonexistent directory and * the old argument points to a directory. */ - puts ("\nRename directory with non existant directory\n"); + puts ("\nRename directory with nonexistent directory\n"); status = mkdir (dir01, mode); rtems_test_assert (status == 0); diff --git a/testsuites/fstests/fssymlink/test.c b/testsuites/fstests/fssymlink/test.c index 064273fed9..9fc8c9bd2d 100644 --- a/testsuites/fstests/fssymlink/test.c +++ b/testsuites/fstests/fssymlink/test.c @@ -210,7 +210,7 @@ static void symlink_rename_test (void) * the old argument points to a symbolic link to another file. */ - puts ("\nOld is a simbolic link and rename operates on the simbolic link itself\n"); + puts ("\nOld is a symbolic link and rename operates on the symbolic link itself\n"); fd = creat (name01, mode); rtems_test_assert (fd >= 0); @@ -249,7 +249,7 @@ static void symlink_rename_test (void) * the old argument points to a file. */ - puts ("\nNew is a simbolic link and rename operates on the simbolic link itself\n"); + puts ("\nNew is a symbolic link and rename operates on the symbolic link itself\n"); fd = creat (name01, mode); rtems_test_assert (fd >= 0); diff --git a/testsuites/fstests/tftpfs/init.c b/testsuites/fstests/tftpfs/init.c index 4546d4bc5c..c777a4f2a5 100644 --- a/testsuites/fstests/tftpfs/init.c +++ b/testsuites/fstests/tftpfs/init.c @@ -71,7 +71,7 @@ #define SMALL_WINDOW_SIZE 4 #define T_no_more_interactions() T_assert_true( \ _Tftp_Has_no_more_interactions(), \ - "The TFTP client skiped some final network interactions." \ + "The TFTP client skipped some final network interactions." \ ) /* @@ -608,7 +608,7 @@ static int rdwt_tftp_client_file( if ( data_buffer[i] != get_file_content( bytes_total + i ) ) { T_true( false, - "FTP Client: wrong file content '%c' (expected '%c') at positon %zd", + "FTP Client: wrong file content '%c' (expected '%c') at position %zd", (int) ( isprint( (int) data_buffer[i] ) ? data_buffer[i] : '?' ), (int) get_file_content( bytes_total + i ), bytes_total + i diff --git a/testsuites/fstests/tftpfs/tftpfs_udp_network_fake.c b/testsuites/fstests/tftpfs/tftpfs_udp_network_fake.c index bbc174d802..35722db0c9 100644 --- a/testsuites/fstests/tftpfs/tftpfs_udp_network_fake.c +++ b/testsuites/fstests/tftpfs/tftpfs_udp_network_fake.c @@ -202,7 +202,7 @@ const char *_Tftp_Get_error_str( uint16_t error_code ) "Unknown transfer ID", "File already exists", "No such user", - "Option negociation failed", + "Option negotiation failed", }; const char *result = unknown_str; @@ -660,7 +660,7 @@ static void set_ip_addr_from_str( bytes + 2, bytes + 3 ); - T_quiet_true( res == 4, "Connot parse IPv4 address: \"%s\"", addr_str ); + T_quiet_true( res == 4, "Cannot parse IPv4 address: \"%s\"", addr_str ); } else { /* IPv6 address */ struct sockaddr_in6 *ipv6_addr = (struct sockaddr_in6 *) addr; @@ -686,7 +686,7 @@ static void set_ip_addr_from_str( words + 6, words + 7 ); - T_quiet_true( res == 8, "Connot parse IPv6 address: \"%s\"", addr_str ); + T_quiet_true( res == 8, "Cannot parse IPv6 address: \"%s\"", addr_str ); for ( i = 0; i < 8; ++i ) { words[i] = htons( words[i] ); } @@ -856,8 +856,8 @@ int setsockopt( T_VERBOSE, "setsockopt(sockfd=%d, level=%s, optname=%s, optval=%dms )", sockfd, - ( level == SOL_SOCKET ) ? "SOL_SOCKET" : "UNKONWN", - ( optname == SO_RCVTIMEO ) ? "SO_RCVTIMEO" : "UNKONWN", + ( level == SOL_SOCKET ) ? "SOL_SOCKET" : "UNKNOWN", + ( optname == SO_RCVTIMEO ) ? "SO_RCVTIMEO" : "UNKNOWN", ( optname == SO_RCVTIMEO ) ? (int) ( tv->tv_sec * 1000 + tv->tv_usec / 1000 ) : -1 ); @@ -895,8 +895,8 @@ int setsockopt( T_VERBOSE, "[setsockopt(sockfd=%d, level=%s, optname=%s, optval=%"PRIu32"ms )] = %d", sockfd, - ( level == SOL_SOCKET ) ? "SOL_SOCKET" : "UNKONWN", - ( optname == SO_RCVTIMEO ) ? "SO_RCVTIMEO" : "UNKONWN", + ( level == SOL_SOCKET ) ? "SOL_SOCKET" : "UNKNOWN", + ( optname == SO_RCVTIMEO ) ? "SO_RCVTIMEO" : "UNKNOWN", ( i < MAX_SOCKET_FD ) ? (int) control->receive_timeout_ms[i] : -1, result );