Bart Van Assche
505a4dbc80
Spelling fix: existant -> existent
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5954 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-22 13:09:20 +00:00
Bart Van Assche
dd249ab556
Spelling fix: occured -> occurred
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5950 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-22 12:35:00 +00:00
Bart Van Assche
0717d99a62
/etc/init.d/scst: Exit with status code 0 upon 'start' if already running
...
Reported-by: Dimitar Tanev <dimitar@linuxdevgroup.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5912 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-04 12:19:56 +00:00
Bart Van Assche
7fd9a3af66
scstadmin test 06-cont-on-err.t: Filter out scstadmin version number
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5794 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-10 11:44:14 +00:00
Bart Van Assche
31bd7ef3c4
scstadmin: Sync saved configuration files
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5793 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-10 11:42:54 +00:00
Bart Van Assche
369a8fb306
scstadmin: Avoid that the Perl interpreter prints a warning message about using an undefined variable on Fedora systems
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5731 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-26 09:56:54 +00:00
Vladislav Bolkhovitin
523fe73096
Forgotten versions updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5597 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-06-13 05:03:17 +00:00
Bart Van Assche
08c5b47ce0
regression tests: Sort hash keys before comparing
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5582 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-06-11 15:27:48 +00:00
Bart Van Assche
730f2ee268
regression tests: Sync with a recent sysfs change
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5581 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-06-11 15:27:06 +00:00
Vladislav Bolkhovitin
6dab45204c
scst: Leave out FSF mail address
...
This avoids that the following checkpatch complaint is triggered:
Do not include the paragraph about writing to the Free Software Foundation's
mailing address from the sample GPL notice. The FSF has changed addresses in
the past, and may do so again. Linux already includes a copy of the GPL.
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5572 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-06-06 03:24:03 +00:00
Bart Van Assche
7922cc2dfb
scstadmin, regression tests: Follow-up for r5409
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5475 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-04-24 18:45:23 +00:00
Bart Van Assche
c664dcb277
scstadmin: List keys alphabetically in the -list_sessions output
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5410 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-04-06 20:26:08 +00:00
Bart Van Assche
ef9d1b9001
scstadmin: Restore LUNs in "scstadmin -list_sessions" output
...
Signed-off-by: Dave Butler <tears.the@gmail.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5409 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-04-06 20:13:53 +00:00
Bart Van Assche
e4ab729b48
make rpm: Do not remove rpmbuilddir
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5307 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-02-24 07:30:50 +00:00
Bart Van Assche
a8a71bf610
Spelling fix: initator -> initiator
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5306 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-02-24 06:56:44 +00:00
Bart Van Assche
06a3995b01
scstadmin/scstadmin.procfs/Makefile: Fix installation path
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5144 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-12-17 11:40:50 +00:00
Bart Van Assche
1463890112
scstadmin: Use the "install_vendor" method when building an RPM
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5132 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-19 17:20:45 +00:00
Bart Van Assche
e3534beba8
scstadmin: Make the regression tests independent of the installation path of iscsi-scstd
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5131 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-19 17:14:23 +00:00
Bart Van Assche
59ca77e6fe
scstadmin: Prevent manual installation if the scstadmin RPM has already been installed
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5130 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-19 17:11:59 +00:00
Bart Van Assche
2c1469a2d7
scstadmin: Make it possible to rebuild the RPM
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5129 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-19 17:07:27 +00:00
Bart Van Assche
cde37a8e3c
/etc/init.d/scst: Make this script independent of the installation directory (/usr/local versus /usr)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5128 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-19 17:01:36 +00:00
Bart Van Assche
136cbaebb9
scstadmin: Eliminate $SCST->{'err_string'}
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5127 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-19 17:00:50 +00:00
Bart Van Assche
3f1e616262
scstadmin: Add a regression test for saving and restoring scst.conf
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5126 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-19 16:59:50 +00:00
Bart Van Assche
3107c8fb82
scstadmin: Fix a bashishm
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5125 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-19 16:58:32 +00:00
Bart Van Assche
22bd9156c7
scstadmin: -cont_on_err bug fix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5112 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-14 10:10:37 +00:00
Bart Van Assche
ff73c5cb2e
scstadmin: Make -list_ttgt_attr and -set_ttgt_attr work for local target ports
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5106 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-13 21:16:37 +00:00
Bart Van Assche
4f31d1cc0e
scstadmin: Sort target group names alphabetically
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5105 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-13 21:08:53 +00:00
Bart Van Assche
40908c5d37
scstadmin: Remove duplicate code
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5104 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-13 21:07:19 +00:00
Bart Van Assche
573b0e5dcb
scstadmin: Avoid complaints about passing an undefined value to chomp()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5103 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-13 21:06:46 +00:00
Bart Van Assche
4e6228fbb0
scstadmin: Avoid confusing Emacs' syntax highlighting algorithm
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5081 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-24 07:26:35 +00:00
Bart Van Assche
5d8a563648
scstadmin: Reduce the time needed to save or restore a configuration
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5075 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-21 18:36:01 +00:00
Bart Van Assche
ca750d6383
scstadmin: Add more regression tests
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5070 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 16:40:02 +00:00
Bart Van Assche
a02cf2379d
scstadmin, SCST.pm, targets(): Return target names sorted alphabetically
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5069 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 16:33:05 +00:00
Bart Van Assche
dad81d3ba5
scstadmin: Add a regression test infrastructure
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5068 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:37:16 +00:00
Bart Van Assche
0298c2ecc3
scstadmin, SCST.pm: Fix checkTargetDynamicAttributes() return code
...
If no attributes have been passed to this function via the second argument,
only report success if the driver (first argument) exists.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5067 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:36:40 +00:00
Bart Van Assche
5ea0cf813f
scstadmin, SCST.pm: Make argument checking more strict
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5066 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:30:31 +00:00
Bart Van Assche
00a6eeafe7
scstadmin: Add command-line option -cont_on_err
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5065 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:28:05 +00:00
Bart Van Assche
4b63daed53
scstadmin, SCST.pm: Fix checkDriverDynamicAttributes() return code
...
If no attributes have been passed to this function via the second argument,
only report success if the driver (first argument) exists.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5064 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:14:11 +00:00
Bart Van Assche
9e77adb8b8
scstadmin, SCST.pm: Fix setLunAttribute() error return code
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5063 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:10:58 +00:00
Bart Van Assche
bf82499635
scstadmin, SCST.pm: Fix lunExists() return code
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5062 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:09:59 +00:00
Bart Van Assche
960759632f
scstadmin, SCST.pm: Avoid triggering runtime warnings about strings having the value "undef"
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5061 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:08:38 +00:00
Bart Van Assche
70a9baa58a
scstadmin, SCST.pm: Check the number of arguments passed to subroutines
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5060 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:07:47 +00:00
Bart Van Assche
5fc9261fc8
scstadmin, SCST.pm: Remove dead code
...
_syswrite() either returns a positive number or undef but never -1.
Hence remove code that would only be executed if _syswrite() would
have returned -1.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5059 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:04:59 +00:00
Bart Van Assche
2a93823408
scstadmin: Fix Perl syntax
...
The Perl operator for comparing strings is "eq" and not "=".
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5058 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:04:16 +00:00
Bart Van Assche
117304c1a7
scstadmin: Fix a typo in a diagnostic message
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5057 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:03:05 +00:00
Bart Van Assche
140c5af41c
scstadmin: Set hardware target attributes correctly
...
For target drivers that support creating targets, e.g. the Emulex
FC driver, it is possible that a target attribute is both writable
for existing (hardware) targets and that it has to be specified
when creating a (virtual) target. Make sure that scstadmin sets
these attributes for existing (hardware) targets when restoring a
configuration.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5056 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:02:25 +00:00
Bart Van Assche
813a97afc3
scstadmin: Add infrastructure for building an RPM
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5055 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 14:32:40 +00:00
Bart Van Assche
6b6bcca4c8
scstadmin: Ensure that the version number can be parsed from inside Makefile.PL
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4988 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-09-06 06:39:25 +00:00
Bart Van Assche
f94393b43c
scstadmin: Enable targets after the ALUA configuration has been restored
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4942 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-04 18:16:51 +00:00
Bart Van Assche
2c67878832
scstadmin: Add ALUA attribute support
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4941 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-04 18:15:28 +00:00