|
@@ -20,7 +20,7 @@
|
|
|
|
|
|
# Description:
|
|
|
#
|
|
|
-# When an explicitley named directory disappears during creation
|
|
|
+# When an explicitly named directory disappears during creation
|
|
|
# of incremental dump, tar should still exit with TAREXIT_FAILURE (2).
|
|
|
#
|
|
|
# For further details see dirrem01.at
|
|
@@ -44,14 +44,15 @@ gnu) CPT=3;;
|
|
|
esac
|
|
|
|
|
|
genfile --run --checkpoint=$CPT --unlink dir/sub/file2 --unlink dir/sub -- \
|
|
|
- tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
|
|
|
- --checkpoint-action='echo' -c -f archive.tar \
|
|
|
+ tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='echo' \
|
|
|
+ --checkpoint-action='sleep=1' -c -f archive.tar \
|
|
|
--listed-incremental db -v dir dir/sub >/dev/null
|
|
|
],
|
|
|
[2],
|
|
|
[ignore],
|
|
|
[tar: dir: Directory is new
|
|
|
tar: dir/sub: Directory is new
|
|
|
+tar: dir/sub: file changed as we read it
|
|
|
tar: dir/sub: Cannot open: No such file or directory
|
|
|
tar: Exiting with failure status due to previous errors
|
|
|
],[],[],[gnu,posix])
|