Skip to content

Commit

Permalink
testsuite: Print testset names from the actual function names
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmark committed Oct 28, 2024
1 parent 2e2721e commit a0f3068
Show file tree
Hide file tree
Showing 75 changed files with 78 additions and 78 deletions.
4 changes: 2 additions & 2 deletions test/testsuite/Error.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ unsigned char cmd;
fin:
FAIL (FPDelete(Conn, vol, DIRDID_ROOT, name))
test_exit:
exit_test("Errror:test37: no folder error ==> ERR_NOOBJ");
exit_test("Error:test37: no folder error ==> ERR_NOOBJ");
}

/* ----------------------
Expand Down Expand Up @@ -1507,7 +1507,7 @@ int dt;
void Error_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"Various errors\n");
fprintf(stdout,"%s: Various errors\n", __func__);
fprintf(stdout,"-------------------\n");
test35();
test36();
Expand Down
2 changes: 1 addition & 1 deletion test/testsuite/FPAddAPPL.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ int dir;
void FPAddAPPL_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPAddAPPL page 94\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test214();
/*
Expand Down
2 changes: 1 addition & 1 deletion test/testsuite/FPAddComment.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ int dt;
void FPAddComment_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPAddComment page 96\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test55();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPAddIcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ DSI *dsi = &Conn->dsi;
void FPAddIcon_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPAddIcon page 99\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test212();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPByteRangeLock.c
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ int type = OPENFORK_DATA;
void FPByteRangeLock_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPByteRangeLock page 101\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test60();
test63();
Expand Down
2 changes: 1 addition & 1 deletion test/testsuite/FPByteRangeLockExt.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ DSI *dsi;
void FPByteRangeLockExt_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPByteRangeLockExt page 105\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test66();
test67();
Expand Down
2 changes: 1 addition & 1 deletion test/testsuite/FPCatSearch.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ unsigned int ret;
void FPCatSearch_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPCatSearch page 110\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test225();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPCatSearchExt.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ unsigned int ret;
void FPCatSearchExt_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPCatSearchExt page 117\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test227();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPCloseDT.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ int ret;
void FPCloseDT_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPCloseDT page 128\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test201();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPCloseDir.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ DSI *dsi;
void FPCloseDir_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPCloseDir page 127\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test199();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPCloseFork.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ DSI *dsi;
void FPCloseFork_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPCloseFork page 129\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test186();
test187();
Expand Down
2 changes: 1 addition & 1 deletion test/testsuite/FPCloseVol.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ int ret;
void FPCloseVol_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPCloseVol page 130\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test204();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPCopyFile.c
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@ DSI *dsi;
void FPCopyFile_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPCopyFile page 131\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test71();
test158();
Expand Down
2 changes: 1 addition & 1 deletion test/testsuite/FPCreateDir.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ unsigned int ret;
void FPCreateDir_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPCreateDir page 136\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test6();
test26();
Expand Down
2 changes: 1 addition & 1 deletion test/testsuite/FPCreateFile.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ getchar();
void FPCreateFile_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPCreateFile page 138\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test51();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPDelete.c
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ int ret;
void FPDelete_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPDelete page 143\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test13();
test27();
Expand Down
2 changes: 1 addition & 1 deletion test/testsuite/FPDisconnectOldSession.c
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ struct afp_filedir_parms filedir;
void FPDisconnectOldSession_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPDisconnectOldSession page 148\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test222();
test338();
Expand Down
2 changes: 1 addition & 1 deletion test/testsuite/FPEnumerate.c
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ int size = 1000;
void FPEnumerate_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPEnumerate page 150\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");

test28();
Expand Down
2 changes: 1 addition & 1 deletion test/testsuite/FPEnumerateExt.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ uint16_t vol = VolID;
void FPEnumerateExt_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPEnumerateExt page 155\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test23();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPEnumerateExt2.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ uint16_t vol = VolID;
void FPEnumerateExt2_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPEnumerateExt2 page 155\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test25();
test211();
Expand Down
2 changes: 1 addition & 1 deletion test/testsuite/FPExchangeFiles.c
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ uint16_t vol = VolID;
void FPExchangeFiles_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPExchangeFiles page 166\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test108();
test111();
Expand Down
2 changes: 1 addition & 1 deletion test/testsuite/FPFlush.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ uint16_t vol = VolID;
void FPFlush_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPFlush page 169\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test202();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPFlushFork.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ DSI *dsi = &Conn->dsi;
void FPFlushFork_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPFlushFork page 171\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test203();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPGetACL.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ STATIC void test432()
void FPGetACL_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPGetACL\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");

test398();
Expand Down
2 changes: 1 addition & 1 deletion test/testsuite/FPGetAPPL.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ int dir;
void FPGetAPPL_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPGetAPPL page 172\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test169();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPGetComment.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ uint16_t vol = VolID;
void FPGetComment_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPGetComment page 176\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test53();
test394();
Expand Down
2 changes: 1 addition & 1 deletion test/testsuite/FPGetFileDirParms.c
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ unsigned int dir;
void FPGetFileDirParms_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPGetFileDirParms page 179\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test44();
test58();
Expand Down
2 changes: 1 addition & 1 deletion test/testsuite/FPGetForkParms.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ DSI *dsi;
void FPGetForkParms_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPGetForkParms page 184\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test21();
test50();
Expand Down
2 changes: 1 addition & 1 deletion test/testsuite/FPGetIcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ char u_null[] = { 0, 0, 0, 0 };
void FPGetIcon_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPGetIcon page 186\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test115();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPGetIconInfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ u_char u_null[] = { 0, 0, 0, 0 };
void FPGetIconInfo_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPGetIconInfo page 188\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test213();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPGetSessionToken.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ STATIC void test221()
void FPGetSessionToken_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPGetSessionToken page 191\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test220();
test221();
Expand Down
2 changes: 1 addition & 1 deletion test/testsuite/FPGetSrvrInfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ int ret;
void FPGetSrvrInfo_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPGetSrvInfo page 194\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test1();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPGetSrvrMsg.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ STATIC void test210(void)
void FPGetSrvrMsg_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPGetSrvrMsg page 200\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test210();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPGetSrvrParms.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ unsigned char *b;
void FPGetSrvrParms_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPGetSrvrParms page 203\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test209();
test316();
Expand Down
2 changes: 1 addition & 1 deletion test/testsuite/FPGetUserInfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ DSI *dsi = &Conn->dsi;
void FPGetUserInfo_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPFPGetUserInfo page 204\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test75();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPGetVolParms.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ uint16_t vol = VolID;
void FPGetVolParms_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPGetVolParms page 207\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test56();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPMapID.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ DSI *dsi = &Conn->dsi;
void FPMapID_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPMapID page 220\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test208();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPMapName.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ char *usr = NULL;
void FPMapName_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPMapName page 222\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test180();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPMoveAndRename.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ int ret;
void FPMoveAndRename_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPMoveAndRename page 223\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test43();
test73();
Expand Down
2 changes: 1 addition & 1 deletion test/testsuite/FPOpenDT.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ DSI *dsi;
void FPOpenDT_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPOpenDT page 229\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test200();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPOpenDir.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ DSI *dsi;
void FPOpenDir_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPOpenDir page 227\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");
test57();
}
2 changes: 1 addition & 1 deletion test/testsuite/FPOpenFork.c
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ char *name = "t367 Denymode RF 2users";
void FPOpenFork_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPOpenFork page 230\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");

test14();
Expand Down
2 changes: 1 addition & 1 deletion test/testsuite/FPOpenVol.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ uint16_t ret;
void FPOpenVol_test()
{
fprintf(stdout,"===================\n");
fprintf(stdout,"FPOpenVol page 235\n");
fprintf(stdout,"%s\n", __func__);
fprintf(stdout,"-------------------\n");

test205();
Expand Down
Loading

0 comments on commit a0f3068

Please sign in to comment.