1#! /bin/sh 2 3# incr.sh: Testing incremental backups and restores. 4 5# Import common functions & definitions. 6. ../common/test-common 7 8LC_ALL=C export LC_ALL 9 10#d=`../testutils/realpwd` 11 12# 13# Basic tests with remove, rename, append, ... 14# 15docommand INCR-basic "tar=${tar}; export tar; sh basic 2> err.out" 0 "" "" 16 17# 18# This is where GNU tar always fails as GNU tar is unable to hndle renamed 19# directories with incremental restores. 20# 21docommand INCR-dir-rename "tar=${tar}; export tar; sh rename-dir 2> err.out" 0 "" "" 22 23# 24# Two plain files are removed and the same inode numbers with a different 25# file type (named pipe) appears in the incremental. 26# 27docommand INCR-same-ino "tar=${tar}; export tar; sh same-ino 2> err.out" 0 "" "" 28 29remove err.out 30 31success 32