]> arthur.barton.de Git - bup.git/blobdiff - t/test-ls
cirrus: allow failures on macos with python 2
[bup.git] / t / test-ls
index 2912476213ae558ea365c507e19acd3bd59b45dd..23e15d79adad076e868a6f0ca701ca2375e2c807 100755 (executable)
--- a/t/test-ls
+++ b/t/test-ls
@@ -51,9 +51,9 @@ WVPASS bup save -n src -d 242312160 --strip src
 WVPASS bup tag some-tag src
 
 uid="$(WVPASS id -u)" || exit $?
-gid="$(WVPASS bup-python -c 'import os; print(os.stat("src").st_gid)')" || exit $?
+gid="$(WVPASS bup-cfg-py -c 'import os; print(os.stat("src").st_gid)')" || exit $?
 user="$(WVPASS id -un)" || exit $?
-group="$(WVPASS bup-python -c 'import grp, os;
+group="$(WVPASS bup-cfg-py -c 'import grp, os;
 print(grp.getgrgid(os.stat("src").st_gid)[0])')" || exit $?
 src_commit_hash=$(git log --format=%H -n1 src)
 src_tree_hash=$(git log --format=%T -n1 src)
@@ -169,7 +169,7 @@ bad_symlink_date="$(WVPASS echo "$bad_symlink_bup_info" \
 test "$bad_symlink_date" || exit 1
 
 if test "$(uname -s)" != NetBSD; then
-    bad_symlink_size="$(WVPASS bup-python -c "import os
+    bad_symlink_size="$(WVPASS bup-cfg-py -c "import os
 print(os.lstat('src/bad-symlink').st_size)")" || exit $?
 else
     # NetBSD appears to return varying sizes, so for now, just ignore it.
@@ -190,7 +190,7 @@ symlink_date="$(WVPASS echo "$symlink_bup_info" \
 test "$symlink_date" || exit 1
 
 if test "$(uname -s)" != NetBSD; then
-    symlink_size="$(WVPASS bup-python -c "import os
+    symlink_size="$(WVPASS bup-cfg-py -c "import os
 print(os.lstat('src/symlink').st_size)")" || exit $?
 else
     # NetBSD appears to return varying sizes, so for now, just ignore it.