From 5a1b3935f6c1fe9b8c717e4bad80b7957057dff0 Mon Sep 17 00:00:00 2001 From: ai Date: Mon, 1 Jun 2026 09:59:40 +0000 Subject: [PATCH] tests: verify live AFP ProDOS xattr --- tests/afp/afp_smoke_suite.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/afp/afp_smoke_suite.sh b/tests/afp/afp_smoke_suite.sh index f990ee6..bbdc102 100755 --- a/tests/afp/afp_smoke_suite.sh +++ b/tests/afp/afp_smoke_suite.sh @@ -697,17 +697,17 @@ run_cmd \ -S "$SERVER" -U "$USER_NAME" -P "$PASSWORD" "$NETWARE_PATH" run_cmd \ - "AFP Set File Information FinderInfo" \ - "./afp_set_file_info_smoke $COMMON_PRINT --finder-info-only --type '$FINDER_TYPE' --creator '$FINDER_CREATOR' '$NETWARE_PATH'" \ + "AFP Set File Information FinderInfo and ProDOSInfo" \ + "./afp_set_file_info_smoke $COMMON_PRINT --finder-info-only --type '$FINDER_TYPE' --creator '$FINDER_CREATOR' --prodos-hex '$PRODOS_INFO_HEX' '$NETWARE_PATH'" \ "$SCRIPT_DIR/afp_set_file_info_smoke" -S "$SERVER" -U "$USER_NAME" -P "$PASSWORD" \ - --finder-info-only --type "$FINDER_TYPE" --creator "$FINDER_CREATOR" "$NETWARE_PATH" + --finder-info-only --type "$FINDER_TYPE" --creator "$FINDER_CREATOR" --prodos-hex "$PRODOS_INFO_HEX" "$NETWARE_PATH" run_cmd \ - "AFP Set File Information FinderInfo by Entry ID" \ - "./afp_set_file_info_smoke --entry-id-only $COMMON_PRINT --finder-info-only --type '$FINDER_TYPE' --creator '$FINDER_CREATOR' '$NETWARE_PATH'" \ + "AFP Set File Information FinderInfo and ProDOSInfo by Entry ID" \ + "./afp_set_file_info_smoke --entry-id-only $COMMON_PRINT --finder-info-only --type '$FINDER_TYPE' --creator '$FINDER_CREATOR' --prodos-hex '$PRODOS_INFO_HEX' '$NETWARE_PATH'" \ "$SCRIPT_DIR/afp_set_file_info_smoke" --entry-id-only \ -S "$SERVER" -U "$USER_NAME" -P "$PASSWORD" \ - --finder-info-only --type "$FINDER_TYPE" --creator "$FINDER_CREATOR" "$NETWARE_PATH" + --finder-info-only --type "$FINDER_TYPE" --creator "$FINDER_CREATOR" --prodos-hex "$PRODOS_INFO_HEX" "$NETWARE_PATH" run_cmd \ "AFP Set File Information FinderInfo legacy" \ @@ -883,10 +883,10 @@ if command -v getfattr >/dev/null 2>&1; then "getfattr -n user.org.mars-nwe.afp.finder-info -e hex '$UNIX_PATH'" \ getfattr -n user.org.mars-nwe.afp.finder-info -e hex "$UNIX_PATH" - run_optional_cmd \ + run_cmd \ "Linux xattr: AFP ProDOSInfo" \ "getfattr -n user.org.mars-nwe.afp.prodos-info -e hex '$UNIX_PATH'" \ - getfattr -n user.org.mars-nwe.afp.prodos-info -e hex "$UNIX_PATH" || true + getfattr -n user.org.mars-nwe.afp.prodos-info -e hex "$UNIX_PATH" run_optional_cmd \ "Linux xattr: AFP Attributes (optional AFP-only bits)" \