Displaying 12 results from an estimated 12 matches for "test_fail".
Did you mean:
must_fail
2016 Jan 16
0
[PATCH v2, resend] ignore-non-existing-directory: add variant of ignore-non-existing
...r1/file2"
+echo data >"$fromdir/subdir2/file"
+
+# Test 1: Ensure subdir2 and content under it are not created
+$RSYNC -r --ignore-non-existing-directory -vv "$fromdir/" "$todir/" | tee "$scratchdir/out"
+if [ ! -d "$todir/subdir1" ]; then
+ test_fail 'test 1 failed: subdir1 should have been created'
+fi
+if [ ! -f "$todir/subdir1/file" ]; then
+ test_fail 'test 1 failed: subdir1/file should have been created'
+fi
+if [ ! -f "$todir/subdir1/file2" ]; then
+ test_fail 'test 1 failed: subdir1/file2 should no...
2015 Nov 28
0
[PATCH v2] ignore-non-existing-directory: add variant of ignore-non-existing
...r1/file2"
+echo data >"$fromdir/subdir2/file"
+
+# Test 1: Ensure subdir2 and content under it are not created
+$RSYNC -r --ignore-non-existing-directory -vv "$fromdir/" "$todir/" | tee "$scratchdir/out"
+if [ ! -d "$todir/subdir1" ]; then
+ test_fail 'test 1 failed: subdir1 should have been created'
+fi
+if [ ! -f "$todir/subdir1/file" ]; then
+ test_fail 'test 1 failed: subdir1/file should have been created'
+fi
+if [ ! -f "$todir/subdir1/file2" ]; then
+ test_fail 'test 1 failed: subdir1/file2 should no...
2015 Nov 28
0
[PATCH] ignore-non-existing-directory: add variant of ignore-non-existing
...ntent under it are not created
+echo $RSYNC -ar --ignore-non-existing-directory -vvv "$fromdir/" "$todir/"
+$RSYNC -ar --ignore-non-existing-directory -vvv "$fromdir/" "$todir/" | tee "$scratchdir/out"
+if [ ! -d "$todir/subdir1" ]; then
+ test_fail 'test 1 failed: subdir1 should have been created'
+fi
+if [ ! -f "$todir/subdir1/file" ]; then
+ test_fail 'test 1 failed: subdir1/file should have been created'
+fi
+if [ -d "$todir/subdir2" ]; then
+ test_fail 'test 1 failed: subdir2 should not have been cr...
2015 Sep 02
3
sieve filtering utf 8 strings
Guys,
I'm completely stuck, so asking for advice.
My user has a sieve script which checks message header if it contains
words in russian like '???? ???????????? ?????????'.
Pritty simple script
# rule:[??????????]
if allof (header :contains "subject" "LDS (robot): ???? ????????????
?????????", header :contains "from" "noreply at
2008 Mar 19
0
[PATCH] Unsnarl missing_below/dry_run logic.
...ther"
+
+# Test 1: Too much "not creating new..." output on a dry run
+$RSYNC -n -r --ignore-non-existing -vv "$fromdir/" "$todir/" | tee "$scratchdir/out"
+if grep 'not creating new.*subdir/file' "$scratchdir/out" >/dev/null; then
+ test_fail 'test 1 failed'
+fi
+
+# Test 2: Attempt to make a fuzzy dirlist for a dir not created on a dry run
+$RSYNC -n -r -R --no-implied-dirs -y "$fromdir/./subdir/file" "$todir/" \
+ || test_fail 'test 2 failed'
+
+# Test 3: --delete-after pass skipped when last dir is...
2015 Sep 03
0
sieve filtering utf 8 strings
...ep at example.net
Frop!
.
;
test "Test original" {
# rule:[??????????]
if not allof (
header :contains "subject" "LDS (robot): ???? ????????????
?????????",
header :contains "from" "noreply at bgoperator.com")
{
test_fail "Failed";
}
}
test_set "message" text:
Subject: =?UTF-8?Q?LDS_(robot):_=D0=9B=D0=B8=D1=81=D1=82?=
=?UTF-8?Q?_=D0=B1=D1=80=D0=BE=D0=BD=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD?=
=?UTF-8?Q?=D0=B8=D1=8F_=D0=BE=D1=82=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5?=
=?UTF-8?Q?=D0=BD?=
From:...
2024 Feb 15
1
tests for clone-dest
...bytenr\ //' | sed 's/\ disk_num_bytes.*//')
if [ ! -n "$result" ]; then
echo "couldn't find extents for " $1
fi
echo "$result"
}
test "$(get_extents $scratchdir/mnt/2/a)" = "$(get_extents $scratchdir/mnt/3/a)" || test_fail "clone-dest files have different extents"
# clean up
umount $scratchdir/mnt/
# The script would have aborted on error, so getting here means we've won.
exit 0
-------------- next part --------------
#!/bin/sh
# Copyright (C) 2024 by Joseph Maher <github at josephmaher.org>
#...
2002 Apr 08
0
portable tests for symlinks (was patch for autoconf manual)
...ow nice
TEST_SYMLINK_CMD="$cmd $switch"
# i wonder if break 2 is portable?
break 2
fi
done
done
# ok, now get rid of it
rm "$scratchdir/testlink"
if [ "x$TEST_SYMLINK_CMD" = 'x' ]
then
test_fail "Couldn't determine how to test for symlinks"
else
echo "Testing for symlinks using '$TEST_SYMLINK_CMD'"
fi
Obviously some of the code is specific to our test framework, but you
get the idea. To handle various platforms it seemed necessary to try...
2005 Jun 24
1
[PATCH] Fix itemize test for objdir != srcdir builds
...g2"
+cp -p "$srcdir/configure.in" "$fromdir/foo/config2"
chmod 601 "$fromdir/foo/config2"
$RSYNC -iplrH "$fromdir/" "$todir/" \
| tee "$outfile"
@@ -91,7 +91,7 @@
EOT
diff $diffopt "$chkfile" "$outfile" || test_fail "test 3 failed"
-cp -p "$srcdir/config.h" "$fromdir/foo/config2"
+cp -p "$srcdir/configure.in" "$fromdir/foo/config2"
chmod 600 "$fromdir/foo/config2"
# Lack of -t is for unchanged hard-link stress-test!
$RSYNC -vvplrH "$fromdir/...
2019 Aug 16
0
Wine release 4.14
...information for a few more Intel KBL GPUs.
Matteo Bruni (9):
d3dx9: Get rid of unused unlock_surface() argument.
d3dx9/tests: Make the pixels array static.
d3dcompiler/tests: Get rid of redundant "failed" in test strings.
d3dcompiler/tests: Trace the test index in test_fail() checks.
wined3d: Fix color mask 1-3 state setting.
wined3d: Get rid of wined3d_max_compat_varyings().
wined3d: Clean up fallback paths in wined3d_surface_blt().
wined3d: Get rid of surface_blt_special() fallback in wined3d_surface_blt().
wined3d: Allow cross-swapchai...
2005 Jul 28
2
test failed with acl patch
...005-07-29 01:51:25.183562230
+0200
+++ /tmp/rsync-2.6.6/testtmp.itemize/rsync.out 2005-07-29 01:51:25.180562846
+0200
@@ -1,5 +1,5 @@
-bar/baz/rsync is uptodate
-foo/config1 is uptodate
+bar/baz/rsync
+foo/config1
foo/config2
"foo/extra" is a hard link
-foo/sym is uptodate
+foo/sym
+ test_fail 'test 4 failed'
+ echo 'test 4 failed'
test 4 failed
+ exit 1
----- itemize log ends
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/a...
2013 Apr 19
8
[PATCH 0 of 8] blktap3/libvhd: Introduce VHD library.
This patch series introduces the VHD library. It is based on the blktap2 one,
with changes coming from the blktap2.5 one.
Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>