tests: verify live AFP ProDOS xattr
This commit is contained in:
@@ -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)" \
|
||||
|
||||
Reference in New Issue
Block a user