summaryrefslogtreecommitdiff
path: root/tests/shred/remove
AgeCommit message (Collapse)Author
2003-08-01Ensure that $? is 0 for the final `exit 0'.Jim Meyering
Otherwise, with at least the /bin/sh from HPUX 10.20, the trap code would end up converting that to exit 1 and thus an unexpected test failure. Reported by Christian Krackowizer.
2003-07-19Don't open-code test for UID != 0.Jim Meyering
Use priv-check's require-non-root instead. Update to use newer framework.
2000-05-23Add traps to clean up.Jim Meyering
Correct broken running-as-root test.
2000-05-10append in subshell so we don't see this diagnostic:Jim Meyering
./remove: t-shred.11626/file: Permission denied
2000-05-08Don't use touch in root test. Instead, append toJim Meyering
the test file, since now touch operates even on files which deny owner write access.
2000-01-12Make the warning that this shred test may notJim Meyering
be run as root more prominent. Suggestion from Volker Borchert.
1999-12-22Use $file, not $tmp/file. Exit 77 if run as root.Jim Meyering
1999-12-15*** empty log message ***Jim Meyering
1999-12-13*** empty log message ***Jim Meyering
1999-12-13*** empty log message ***Jim Meyering