From 70197d5ab8fe63b6003eb71f3c5fa45948484a04 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Tue, 4 Jul 2017 08:43:55 +1000 Subject: [PATCH] TETS: rename the tests Signed-off-by: Ronnie Sahlberg --- ..._open_paths.sh => test_0220_open_paths.sh} | 0 ... => test_0222_open_valgrind_leak_check.sh} | 0 ...reat_paths.sh => test_0230_creat_paths.sh} | 0 .../{test_0900_link.sh => test_0240_link.sh} | 0 ... => test_0242_link_valgrind_leak_check.sh} | 0 ...est_0800_rename.sh => test_0250_rename.sh} | 0 ...> test_0252_rename_valgrind_leak_check.sh} | 0 ...nk_paths.sh => test_0260_symlink_paths.sh} | 0 ...est_0400_unlink.sh => test_0270_unlink.sh} | 0 ...> test_0272_unlink_valgrind_leak_check.sh} | 0 ...kdir_rmdir.sh => test_0280_mkdir_rmdir.sh} | 0 ...t_0282_mkdir_rmdir_valgrind_leak_check.sh} | 0 .../{test_0500_read.sh => test_0290_read.sh} | 0 ...{test_0600_write.sh => test_0300_write.sh} | 0 ...{test_1000_mknod.sh => test_0310_mknod.sh} | 0 .../test_0710_symlink_valgrind_leak_check.sh | 47 ------------------- tests/test_1110_creat_valgrind_leak_check.sh | 39 --------------- 17 files changed, 86 deletions(-) rename tests/{test_1200_open_paths.sh => test_0220_open_paths.sh} (100%) rename tests/{test_1210_open_valgrind_leak_check.sh => test_0222_open_valgrind_leak_check.sh} (100%) rename tests/{test_1100_creat_paths.sh => test_0230_creat_paths.sh} (100%) rename tests/{test_0900_link.sh => test_0240_link.sh} (100%) rename tests/{test_0910_link_valgrind_leak_check.sh => test_0242_link_valgrind_leak_check.sh} (100%) rename tests/{test_0800_rename.sh => test_0250_rename.sh} (100%) rename tests/{test_0810_rename_valgrind_leak_check.sh => test_0252_rename_valgrind_leak_check.sh} (100%) rename tests/{test_0700_symlink_paths.sh => test_0260_symlink_paths.sh} (100%) rename tests/{test_0400_unlink.sh => test_0270_unlink.sh} (100%) rename tests/{test_0410_unlink_valgrind_leak_check.sh => test_0272_unlink_valgrind_leak_check.sh} (100%) rename tests/{test_0300_mkdir_rmdir.sh => test_0280_mkdir_rmdir.sh} (100%) rename tests/{test_0310_mkdir_rmdir_valgrind_leak_check.sh => test_0282_mkdir_rmdir_valgrind_leak_check.sh} (100%) rename tests/{test_0500_read.sh => test_0290_read.sh} (100%) rename tests/{test_0600_write.sh => test_0300_write.sh} (100%) rename tests/{test_1000_mknod.sh => test_0310_mknod.sh} (100%) delete mode 100755 tests/test_0710_symlink_valgrind_leak_check.sh delete mode 100755 tests/test_1110_creat_valgrind_leak_check.sh diff --git a/tests/test_1200_open_paths.sh b/tests/test_0220_open_paths.sh similarity index 100% rename from tests/test_1200_open_paths.sh rename to tests/test_0220_open_paths.sh diff --git a/tests/test_1210_open_valgrind_leak_check.sh b/tests/test_0222_open_valgrind_leak_check.sh similarity index 100% rename from tests/test_1210_open_valgrind_leak_check.sh rename to tests/test_0222_open_valgrind_leak_check.sh diff --git a/tests/test_1100_creat_paths.sh b/tests/test_0230_creat_paths.sh similarity index 100% rename from tests/test_1100_creat_paths.sh rename to tests/test_0230_creat_paths.sh diff --git a/tests/test_0900_link.sh b/tests/test_0240_link.sh similarity index 100% rename from tests/test_0900_link.sh rename to tests/test_0240_link.sh diff --git a/tests/test_0910_link_valgrind_leak_check.sh b/tests/test_0242_link_valgrind_leak_check.sh similarity index 100% rename from tests/test_0910_link_valgrind_leak_check.sh rename to tests/test_0242_link_valgrind_leak_check.sh diff --git a/tests/test_0800_rename.sh b/tests/test_0250_rename.sh similarity index 100% rename from tests/test_0800_rename.sh rename to tests/test_0250_rename.sh diff --git a/tests/test_0810_rename_valgrind_leak_check.sh b/tests/test_0252_rename_valgrind_leak_check.sh similarity index 100% rename from tests/test_0810_rename_valgrind_leak_check.sh rename to tests/test_0252_rename_valgrind_leak_check.sh diff --git a/tests/test_0700_symlink_paths.sh b/tests/test_0260_symlink_paths.sh similarity index 100% rename from tests/test_0700_symlink_paths.sh rename to tests/test_0260_symlink_paths.sh diff --git a/tests/test_0400_unlink.sh b/tests/test_0270_unlink.sh similarity index 100% rename from tests/test_0400_unlink.sh rename to tests/test_0270_unlink.sh diff --git a/tests/test_0410_unlink_valgrind_leak_check.sh b/tests/test_0272_unlink_valgrind_leak_check.sh similarity index 100% rename from tests/test_0410_unlink_valgrind_leak_check.sh rename to tests/test_0272_unlink_valgrind_leak_check.sh diff --git a/tests/test_0300_mkdir_rmdir.sh b/tests/test_0280_mkdir_rmdir.sh similarity index 100% rename from tests/test_0300_mkdir_rmdir.sh rename to tests/test_0280_mkdir_rmdir.sh diff --git a/tests/test_0310_mkdir_rmdir_valgrind_leak_check.sh b/tests/test_0282_mkdir_rmdir_valgrind_leak_check.sh similarity index 100% rename from tests/test_0310_mkdir_rmdir_valgrind_leak_check.sh rename to tests/test_0282_mkdir_rmdir_valgrind_leak_check.sh diff --git a/tests/test_0500_read.sh b/tests/test_0290_read.sh similarity index 100% rename from tests/test_0500_read.sh rename to tests/test_0290_read.sh diff --git a/tests/test_0600_write.sh b/tests/test_0300_write.sh similarity index 100% rename from tests/test_0600_write.sh rename to tests/test_0300_write.sh diff --git a/tests/test_1000_mknod.sh b/tests/test_0310_mknod.sh similarity index 100% rename from tests/test_1000_mknod.sh rename to tests/test_0310_mknod.sh diff --git a/tests/test_0710_symlink_valgrind_leak_check.sh b/tests/test_0710_symlink_valgrind_leak_check.sh deleted file mode 100755 index 7991a4f..0000000 --- a/tests/test_0710_symlink_valgrind_leak_check.sh +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh - -. ./functions.sh - -echo "basic valgrind leak check for nfs_symlink()" - -start_share - -mkdir "${TESTDIR}/subdir" -mkdir "${TESTDIR}/subdir2" - -echo -n "Test nfs_symlink() (1) ... " -libtool --mode=execute valgrind --leak-check=full --error-exitcode=99 ./prog_symlink "${TESTURL}/" "." kangabanga /symlink1 2>/dev/null || failure -success - -echo -n "Test nfs_symlink() (2) ... " -libtool --mode=execute valgrind --leak-check=full --error-exitcode=99 ./prog_symlink "${TESTURL}/" "." kangabanga symlink2 2>/dev/null || failure -success - -echo -n "Test nfs_symlink() (3) ... " -libtool --mode=execute valgrind --leak-check=full --error-exitcode=99 ./prog_symlink "${TESTURL}/" "." kangabanga /subdir/symlink3 2>/dev/null || failure -success - -echo -n "Test nfs_symlink() (4) ... " -libtool --mode=execute valgrind --leak-check=full --error-exitcode=99 ./prog_symlink "${TESTURL}/" "." kangabanga subdir/symlink4 2>/dev/null || failure -success - -echo -n "Test nfs_symlink() (5) ... " -libtool --mode=execute valgrind --leak-check=full --error-exitcode=99 ./prog_symlink "${TESTURL}/" "/subdir" kangabanga symlink5 2>/dev/null || failure -success - -echo -n "Test nfs_symlink() (6) ... " -libtool --mode=execute valgrind --leak-check=full --error-exitcode=99 ./prog_symlink "${TESTURL}/" "/subdir" kangabanga ../symlink6 2>/dev/null || failure -success - -echo -n "Test nfs_symlink() (7) ... " -libtool --mode=execute valgrind --leak-check=full --error-exitcode=99 ./prog_symlink "${TESTURL}/" "/subdir" kangabanga ../subdir2/symlink7 2>/dev/null || failure -success - -echo -n "Test nfs_symlink() (8) ... " -libtool --mode=execute valgrind --leak-check=full --error-exitcode=99 ./prog_symlink "${TESTURL}/" "/subdir" kangabanga ../../symlink8 2>/dev/null || expr $? != 99 >/dev/null || failure -success - - -stop_share - -exit 0 diff --git a/tests/test_1110_creat_valgrind_leak_check.sh b/tests/test_1110_creat_valgrind_leak_check.sh deleted file mode 100755 index a01b4bd..0000000 --- a/tests/test_1110_creat_valgrind_leak_check.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh - -. ./functions.sh - -echo "basic valgrind leak check for nfs_creat()" - -start_share - -mkdir "${TESTDIR}/subdir" -mkdir "${TESTDIR}/subdir2" - -echo -n "test nfs_creat() for memory leaks (1) ... " -libtool --mode=execute valgrind --leak-check=full --error-exitcode=99 ./prog_create "${TESTURL}/" "." /creat1 0750 >/dev/null 2>&1 || failure -success - -echo -n "test nfs_creat() for memory leaks (2) ... " -libtool --mode=execute valgrind --leak-check=full --error-exitcode=99 ./prog_create "${TESTURL}/" "." creat2 0750 >/dev/null 2>&1 || failure -success - -echo -n "test nfs_creat() for memory leaks (3) ... " -libtool --mode=execute valgrind --leak-check=full --error-exitcode=99 ./prog_create "${TESTURL}/" "." /subdir/creat3 0750 >/dev/null 2>&1 || failure -success - -echo -n "test nfs_creat() for memory leaks (4) ... " -libtool --mode=execute valgrind --leak-check=full --error-exitcode=99 ./prog_create "${TESTURL}/" "." subdir/creat4 0750 >/dev/null 2>&1 || failure -success - -echo -n "test nfs_creat() for memory leaks (5) ... " -libtool --mode=execute valgrind --leak-check=full --error-exitcode=99 ./prog_create "${TESTURL}/" "subdir" ../subdir2/creat5 0750 >/dev/null 2>&1 || failure -success - -echo -n "test nfs_creat() for memory leaks (6) ... " -libtool --mode=execute valgrind --leak-check=full --error-exitcode=99 ./prog_create "${TESTURL}/" "subdir" ../../subdir2/creat6 0750 2>/dev/null || expr $? != 99 >/dev/null || failure -success - - -stop_share - -exit 0