Displaying 15 results from an estimated 15 matches for "is_executable".
2005 Apr 04
0
io timeout after 180 seconds
...'daily' &&
~ $s_backupType != 'weekly' &&
~ $s_backupType != 'monthly') {
~ writeln("ERROR: The backup type: '$s_backupType' is not valid
(valid types are hourly, daily, weekly, and monthly).");
~ exit;
}
// check binaries
if (!is_executable($s_rsync)) {
~ writeln("WARNING: The rsync program: '$s_rsync' is not valid.");
~ exit;
}
if (!is_executable($s_rm)) {
~ writeln("WARNING: The rm program: '$s_rm' is not valid.");
~ exit;
}
if (!is_executable($s_cp)) {
~ writeln("WARNING: Th...
2005 Jan 24
3
changing ldap passwords?
Samba experts,
I am using Samba 3.0.8 on an AIX 5.1 system with ldap authentication. I
have ldap working so that users can authenticate in their samba account via
ldap. However, I am trying to figure out the best method for allowing
users to change their ldap samba account password.
What is the best method to allow end users to change their LM/NT
passwords for Samba via LDAP?
Should
2014 Oct 21
3
Re: [PATCH v5 1/7] tests: Introduce test harness for running tests.
...rm -f $@ $@-t
> + echo 'echo Warning: Install OCaml compiler in order to rebuild the test-harness.' > $@-t
> + chmod +x $@-t
> + mv $@-t $@
> +
> endif
I guess this needs a configure check to disable the test suite when
OCaml is not present.
> +let is_executable path =
> + try (stat path).st_perm land 0o111 <> 0
> + with Unix_error _ -> false
I guess Unix.access might be better here.
> +let relative_path_to_absolute path =
> + let cmd = sprintf "unset CDPATH; cd %s && pwd" (Filename.quote path) in
> + let cha...
2014 Oct 03
0
[PATCH v3] tests: Introduce test harness for running tests.
...-harness standalone program. *)
+
+open Unix
+open Printf
+
+open Types
+open Tests
+
+let (//) = Filename.concat
+
+let is_dir path =
+ try (stat path).st_kind = S_DIR
+ with Unix_error _ -> false
+
+let is_file path =
+ try (stat path).st_kind = S_REG
+ with Unix_error _ -> false
+
+let is_executable path =
+ try (stat path).st_perm land 0o111 <> 0
+ with Unix_error _ -> false
+
+let relative_path_to_absolute path =
+ let cmd = sprintf "unset CDPATH; cd %s && pwd" (Filename.quote path) in
+ let chan = open_process_in cmd in
+ let path = input_line chan in
+ (mat...
2014 Oct 05
0
[PATCH v5 1/7] tests: Introduce test harness for running tests.
...quot;
+let ansi_restore ?(chan = Pervasives.stdout) () =
+ if isatty then output_string chan "\x1b[0m"
+
+let is_dir path =
+ try (stat path).st_kind = S_DIR
+ with Unix_error _ -> false
+
+let is_file path =
+ try (stat path).st_kind = S_REG
+ with Unix_error _ -> false
+
+let is_executable path =
+ try (stat path).st_perm land 0o111 <> 0
+ with Unix_error _ -> false
+
+let relative_path_to_absolute path =
+ let cmd = sprintf "unset CDPATH; cd %s && pwd" (Filename.quote path) in
+ let chan = open_process_in cmd in
+ let path = input_line chan in
+ (mat...
2015 Aug 06
0
[PATCH v4 01/17] tests: Introduce test harness for running tests.
...quot;
+let ansi_restore ?(chan = Pervasives.stdout) () =
+ if isatty then output_string chan "\x1b[0m"
+
+let is_dir path =
+ try (stat path).st_kind = S_DIR
+ with Unix_error _ -> false
+
+let is_file path =
+ try (stat path).st_kind = S_REG
+ with Unix_error _ -> false
+
+let is_executable path =
+ is_file path &&
+ try access path [X_OK]; true
+ with Unix_error _ -> false
+
+let relative_path_to_absolute path =
+ let cmd = sprintf "realpath %s" (Filename.quote path) in
+ let chan = open_process_in cmd in
+ let path = input_line chan in
+ (match close_...
2020 May 08
0
Wine release 5.8
...qedit: Implement IMediaDet::get_StreamLength().
cmd.exe: Don't treat explicit paths as a PATH search list.
Gijs Vermeulen (3):
wineqtdecoder: Do not use wide string literals to fix warning.
ntdll: Remove unused function fast_wait_cv().
kernel32: Remove unused functions is_executable() and get_table_entry().
Hans Leidekker (3):
msxml3: Update version resource.
msxml6: Update version resource.
msi: Return void from init_automation_object.
Henri Verbeet (25):
wined3d: Do not flush read-only mappings in wined3d_texture_vk_download_data().
wined3d: M...
2014 Oct 05
12
[PATCH v5 0/7] tests: Introduce test harness for running tests.
Since v4:
- More tests have been converted.
- Testing local guests fixed.
- Drop no-exec-stack test.
2014 Oct 04
4
[PATCH v4 0/4] tests: Introduce test harness for running tests.
This converts more of the tests (basically everything under tests/) to
use the test harness, revealing some problems which have subsequently
been fixed.
Rich.
2014 Oct 23
10
[PATCH v6 00/10] tests: Introduce test harness for running tests.
For v6:
This is mainly just a rebase, but I have also added tests in the
ocaml/ language bindings directory, and for all the OCaml-written virt
tools.
Rich.
2014 Oct 24
10
[PATCH v7 00/10] tests: Introduce test harness for running tests.
v7:
The only changes since v6 are those suggested by Pino in the review
of v5.
2015 Jul 28
10
[PATCH 00/10] tests: Introduce test harness for running tests.
I should probably start by saying this patch series isn't ready for
review yet.
This patch series adds a test harness to libguestfs. It allows us to
run the tests outside the ordinary 'make check' path in the build
tree. In particular, you can use this to run tests when libguestfs
has been installed. 'make check' and the other 'make check-*' rules
still work.
The
2015 Aug 06
20
[PATCH v4 00/17] tests: Introduce test harness for running tests.
Since v3:
- A large number of fixes, especially for running the tests on
installed libguestfs.
- Fixed EXTRA_DIST rules throughout.
- Extra patch 17/17 which is a tidy-up of the generated XML
listing guests.
Rich.
2015 Jul 31
14
[PATCH v2 00/14] tests: Introduce test harness for running tests.
This is a more complete patch to add the test harness.
The only parts missing now are the language bindings (except OCaml).
The language bindings need a bit more thought. At the moment most
language binding tests are done through some sort of shell script like
perl/run-perl-tests which either runs each test itself or uses some
language-specific machinary to run each test. The problem with that
2015 Aug 04
16
[PATCH v3 01/16] tests: Introduce test harness for running tests.
Since v2:
- Add perl tests.
- Reworked and fixed the tests for virt-builder.
- Some further minor bug fixes.