File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / rsync / testsuite / atimes.test
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Mar 17 00:32:36 2021 UTC (3 years, 2 months ago) by misho
Branches: rsync, MAIN
CVS tags: v3_2_3, HEAD
rsync 3.2.3

#! /bin/sh

# Test rsync copying atimes

. "$suitedir/rsync.fns"

$RSYNC --version | grep "[, ] atimes" >/dev/null || test_skipped "Rsync is configured without atimes support"

mkdir "$fromdir"

touch "$fromdir/foo"
touch -a -t 200102031717.42 "$fromdir/foo"

TLS_ARGS=--atimes

checkit "$RSYNC -rtUgvvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"

# The script would have aborted on error, so getting here means we've won.
exit 0

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>