Skip to content

cp: gnu test case i-2 compatibility for mv #6658

@matrixhead

Description

@matrixhead

This shared test case for cp and mv checks how they behave when the -i and -f flags are given. The test is failing because uu-cp's prompt message differs from GNU's cp.
for example

echo e > e
echo f > f
chmod 0 f
cp -if e f

this should give us a prompt saying.

cp: replace 'f', overriding mode 0000 (---------)?

but instead uu-cp would give us a normal prompt like this

cp: overwrite 'f'?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions